[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f16JWC4QDxwLs9C-3RMQ2TDf-dH0Fjk1gStz5yBEbl04":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":11,"num_ratings":11,"last_updated":13,"tested_up_to":14,"requires_at_least":15,"requires_php":16,"tags":17,"homepage":18,"download_link":19,"security_score":20,"vuln_count":11,"unpatched_count":11,"last_vuln_date":21,"fetched_at":22,"vulnerabilities":23,"developer":24,"crawl_stats":21,"alternatives":31,"analysis":32,"fingerprints":65},"show-environment-in-editor","Show Environment In Editor","1.0.9","joppuyo","https:\u002F\u002Fprofiles.wordpress.org\u002Fjoppuyo\u002F","\u003Cp>WordPress 5.5 \u003Ca href=\"https:\u002F\u002Fmake.wordpress.org\u002Fcore\u002F2020\u002F07\u002F24\u002Fnew-wp_get_environment_type-function-in-wordpress-5-5\u002F\" rel=\"nofollow ugc\">introduced\u003C\u002Fa> the \u003Ccode>WP_ENVIRONMENT_TYPE\u003C\u002Fcode> constant, which allows you to define the current environment where WordPress is running, either \u003Cstrong>production\u003C\u002Fstrong>, \u003Cstrong>staging\u003C\u002Fstrong>, \u003Cstrong>local\u003C\u002Fstrong>, or \u003Cstrong>development\u003C\u002Fstrong>. You can use the \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fdisplay-environment-type\u002F\" rel=\"ugc\">Display Environment Type\u003C\u002Fa> plugin to show this information in the admin bar.\u003C\u002Fp>\n\u003Cp>However, in new WordPress versions, the admin bar is hidden in the post editor and site editor. This plugin adds a new icon in the block editor toolbar to display the environment type. You can think of this as a complimentary plugin to \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fdisplay-environment-type\u002F\" rel=\"ugc\">Display Environment Type\u003C\u002Fa> because it’s highly recommended that you use both plugins at the same time.\u003C\u002Fp>\n\u003Ch3>Support the plugin\u003C\u002Fh3>\n\u003Cp>Maintaining a WordPress plugin is a lot of work. If you like the plugin, please consider rating it on \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fsupport\u002Fplugin\u002Fshow-environment-in-editor\u002Freviews\u002F#new-post\" rel=\"ugc\">WordPress.org\u003C\u002Fa>. You can also support me on \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fjoppuyo\" rel=\"nofollow ugc\">GitHub sponsors\u003C\u002Fa>. Thank you!\u003C\u002Fp>\n\u003Cp>If you are interested, you can also check out my other WordPress plugins:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fdisable-media-pages\u002F\" rel=\"ugc\">Disable Media Pages\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcustomizer-disabler\u002F\" rel=\"ugc\">Disable Customizer\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fdisable-drop-cap\u002F\" rel=\"ugc\">Disable Drop Cap\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Facf-image-aspect-ratio-crop\u002F\" rel=\"ugc\">ACF Image Aspect Ratio Crop\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n","Show the current server environment in the Gutenberg editor screen.",0,1996,"","6.6.5","5.5","7.2",[],"https:\u002F\u002Fgithub.com\u002Fjoppuyo\u002Fshow-environment-in-editor","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fshow-environment-in-editor.1.0.9.zip",100,null,"2026-03-15T10:48:56.248Z",[],{"slug":7,"display_name":7,"profile_url":8,"plugin_count":25,"total_installs":26,"avg_security_score":27,"avg_patch_time_days":28,"trust_score":29,"computed_at":30},6,30460,94,30,90,"2026-04-04T14:01:47.930Z",[],{"attackSurface":33,"codeSignals":49,"taintFlows":57,"riskAssessment":58,"analyzedAt":64},{"hooks":34,"ajaxHandlers":45,"restRoutes":46,"shortcodes":47,"cronEvents":48,"entryPointCount":11,"unprotectedCount":11},[35,41],{"type":36,"name":37,"callback":38,"file":39,"line":40},"action","admin_enqueue_scripts","seie_init_register_block","show-environment-in-editor.php",75,{"type":36,"name":42,"callback":43,"file":39,"line":44},"init","seie_init",78,[],[],[],[],{"dangerousFunctions":50,"sqlUsage":51,"outputEscaping":53,"fileOperations":11,"externalRequests":11,"nonceChecks":11,"capabilityChecks":11,"bundledLibraries":56},[],{"prepared":11,"raw":11,"locations":52},[],{"escaped":54,"rawEcho":11,"locations":55},1,[],[],[],{"summary":59,"deductions":60},"The plugin \"show-environment-in-editor\" v1.0.9 exhibits a strong security posture based on the provided static analysis. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the plugin's attack surface. Furthermore, the code analysis reveals no dangerous functions, raw SQL queries, file operations, external HTTP requests, or unsanitized taint flows. All identified outputs are properly escaped, and the plugin demonstrates good practices regarding SQL query preparedness. The lack of recorded vulnerabilities in its history further reinforces this positive security assessment. \n\nWhile the plugin appears to be well-secured, the complete absence of capability checks is a notable weakness. In scenarios where a plugin might expose sensitive information or functionality, robust capability checks are crucial for ensuring that only authorized users can access these features. However, given the reported limited attack surface and absence of exploitable code signals, this weakness may not present an immediate, high-severity risk in the current version. The overall security is good, but a review of potential privilege escalation vectors would be beneficial.",[61],{"reason":62,"points":63},"Missing capability checks",5,"2026-03-17T05:53:51.660Z",{"wat":66,"direct":74},{"assetPaths":67,"generatorPatterns":69,"scriptPaths":70,"versionParams":72},[68],"\u002Fwp-content\u002Fplugins\u002Fshow-environment-in-editor\u002Fbuild\u002Findex.js",[],[71],"build\u002Findex.js",[73],"show-environment-in-editor\u002Fbuild\u002Findex.js?ver=1.0.9",{"cssClasses":75,"htmlComments":76,"htmlAttributes":77,"restEndpoints":78,"jsGlobals":79,"shortcodeOutput":81},[],[],[],[],[80],"seie_vars",[]]