{"id":34916,"date":"2015-03-11T18:20:22","date_gmt":"2015-03-11T18:20:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/frontend-debugger\/"},"modified":"2015-08-29T17:24:33","modified_gmt":"2015-08-29T17:24:33","slug":"frontend-debugger","status":"publish","type":"plugin","link":"https:\/\/en-gb.wordpress.org\/plugins\/frontend-debugger\/","author":8544055,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.9.0","stable_tag":"0.9.0","tested":"4.3.34","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Frontend Debugger","header_author":"Viktor Sz\u00e9pe","header_description":"","assets_banners_color":"5c4944","last_updated":"2015-08-29 17:24:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/szepe.net\/wp-donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/frontend-debugger\/","header_author_uri":"http:\/\/www.online1.hu\/webdesign\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":1638,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1110542","resolution":"128x128","location":"assets","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1110542","resolution":"256x256","location":"assets","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1110542","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4","0.5","0.6","0.7","0.7.1","0.8.0","0.9.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1110542","resolution":"1","location":"assets","width":532,"height":258},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1110542","resolution":"2","location":"assets","width":532,"height":255},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1110542","resolution":"3","location":"assets","width":532,"height":249}},"screenshots":{"1":"The Loop.","2":"The Header.","3":"Included files."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,2679,2275,734,2250,246,8747],"plugin_category":[59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-34916","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-debugging","plugin_tags-developer","plugin_tags-development","plugin_tags-frontend","plugin_tags-html","plugin_tags-source","plugin_category-utilities-and-tools","plugin_committers-szepeviktor"],"banners":{"banner":"https:\/\/ps.w.org\/frontend-debugger\/assets\/banner-772x250.png?rev=1110542","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/frontend-debugger\/assets\/icon-128x128.png?rev=1110542","icon_2x":"https:\/\/ps.w.org\/frontend-debugger\/assets\/icon-256x256.png?rev=1110542","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/frontend-debugger\/assets\/screenshot-1.jpg?rev=1110542","caption":"The Loop."},{"src":"https:\/\/ps.w.org\/frontend-debugger\/assets\/screenshot-2.jpg?rev=1110542","caption":"The Header."},{"src":"https:\/\/ps.w.org\/frontend-debugger\/assets\/screenshot-3.jpg?rev=1110542","caption":"Included files."}],"raw_content":"<!--section=description-->\n<h4>Only for development!<\/h4>\n <p>Displays:<\/p>\n <ul>\n<li>Header<\/li>\n<li>Thumbnails<\/li>\n<li>The Loop (content)<\/li>\n<li>Footer<\/li>\n<li>Included template parts<\/li>\n<li>Highlight script, link and style elements<\/li>\n<\/ul>\n <p>To remove <strong>all<\/strong> registered scripts and styles add <code>?remove-scripts<\/code> to the URL. All these scripts and styles will be listed at the bottom of the footer as HTML comment. This way it is possible to detect non-WordPress script printing.<\/p>\n <p>If you are not an administrators add <code>?view-source<\/code> to the URL to activate Frontend Debugger.<\/p>\n <p>Notice: This plugin uses regular expressions and <code>eval()<\/code> to get the current template apart.<\/p>\n <p>TODO: sidebar, search-form.<\/p>\n <p>The mini control panel contains:<\/p>\n <ul>\n<li>Header, Thumbnails, The Loop, Footer, Included files anchors<\/li>\n<li>Toogle button for line numbers<\/li>\n<li>Toggle button for line wrapping<\/li>\n<li>Toggle button for showing line ends<\/li>\n<li>Button for script and style highlighting<\/li>\n<\/ul>\n <p>From the second click on the <code>Highlight<\/code> button loops through (scrolls to) all scripts and styles.<\/p>\n <p>The control panel's state is kept in your browser's <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Window\/localStorage\">localStorage<\/a>.<\/p>\n <p>Development of this plugin goes on on <a href=\"https:\/\/github.com\/szepeviktor\/frontend-debugger\">GitHub<\/a>. Please contribute by sending PR-s implementing my TODO-s.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n <ol>\n<li>Uppack the ZIP to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.9.0<\/h4>\n <ul>\n<li>Added <code>remove-scripts<\/code> GET parameter<\/li>\n<li>Added <code>Highlight<\/code> button secondary function: loop through all scripts and styles<\/li>\n<\/ul>\n <h4>0.8.0<\/h4>\n <ul>\n<li>Added template part detection from barrykooij's What The File plugin.<\/li>\n<li>Updated fail2ban trigger on direct access.<\/li>\n<li>Added support for <code>get_template_part()<\/code> detection.<\/li>\n<li>WordPress 4.3 compatibility.<\/li>\n<\/ul>\n <h4>0.7.1<\/h4>\n <ul>\n<li>Fixed site_url() instead home_url().<\/li>\n<\/ul>\n <h4>0.6<\/h4>\n <ul>\n<li>Highlight script, link and style elements.<\/li>\n<\/ul>\n <h4>0.5<\/h4>\n <ul>\n<li>Prevent search engine indexing.<\/li>\n<\/ul>\n <h4>0.4<\/h4>\n <ul>\n<li>Display page URL.<\/li>\n<li>Some visual cosmetics.<\/li>\n<\/ul>\n <h4>0.3<\/h4>\n <ul>\n<li>Include remote scripts and styles.<\/li>\n<\/ul>\n <h4>0.2<\/h4>\n <ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Display prettified page source on the frontend.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34916"}],"author":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/szepeviktor"}],"wp:attachment":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34916"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34916"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34916"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34916"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34916"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}