Created
October 10, 2014 17:26
-
-
Save david-binda/df8940312d6974b0ab9c to your computer and use it in GitHub Desktop.
JSON output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"level": "warning", | |
"description": "Antivirus Scan", | |
"lines": [ | |
"ClamAV is not present on this system - as such, no antivirus scanning was performed on this theme." | |
], | |
"file": "" | |
}, | |
{ | |
"level": "warning", | |
"description": "PHP CodeSniffer not available", | |
"lines": [ | |
"PHP CodeSniffer (phpcs) is not available on this system. No code sniffing will be performed." | |
], | |
"file": "" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "404.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "archive.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "author.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "category.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "date.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "home.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "image.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "wp_bootstrap_navwalker.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "index.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "page-full-width.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "page.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "search.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "showcase.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "single.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "tag.php" | |
}, | |
{ | |
"level": "warning", | |
"description": "Closing PHP tag at the end of file. Remove to avoid accidental whitespace output errors.", | |
"lines": [ | |
"" | |
], | |
"file": "video.php" | |
}, | |
{ | |
"level": "Warning", | |
"description": "Uncached function. Use WP_Query or ensure suppress_filters is false", | |
"lines": { | |
"34": "$lastposts = get_posts( $args );" | |
}, | |
"file": "header.php" | |
}, | |
{ | |
"level": "Warning", | |
"description": "Reads entire file into an array", | |
"lines": { | |
"14": "/* Loads the file for option sanitization */", | |
"19": "FILE__ ) . '/options-sanitize.php';", | |
"34": "// Include the required files", | |
"35": "FILE__ ) . '/options-interface.php';", | |
"36": "FILE__ ) . '/options-media-uploader.php';", | |
"38": "// Optionally Loads the options file from the theme", | |
"40": "$optionsfile = locate_template( $location );", | |
"269": "* file will be added to the option for the active theme.", | |
"386": "// Load options from options.php file (if it exists)", | |
"388": "if ( $optionsfile = locate_template( $location ) ) {", | |
"389": "$maybe_options = require_once $optionsfile;" | |
}, | |
"file": "options-framework.php" | |
}, | |
{ | |
"level": "Warning", | |
"description": "Uncached function. Use WP_Query or ensure suppress_filters is false", | |
"lines": { | |
"131": "$attachment_ids = get_posts( array(" | |
}, | |
"file": "template-tags.php" | |
}, | |
{ | |
"level": "Warning", | |
"description": "Possible output of restricted variables", | |
"lines": [ | |
"" | |
], | |
"file": "options-framework.php" | |
}, | |
{ | |
"level": "Warning", | |
"description": "Possible output of restricted variables", | |
"lines": [ | |
"" | |
], | |
"file": "template-tags.php" | |
}, | |
{ | |
"level": "blocker", | |
"description": "VIP Init", | |
"lines": [ | |
"vip-init.php was not required" | |
], | |
"file": "functions.php" | |
}, | |
{ | |
"level": "Blocker", | |
"description": "Explicitly define variables rather than using extract()", | |
"lines": { | |
"173": "extract( $args );" | |
}, | |
"file": "wp_bootstrap_navwalker.php" | |
}, | |
{ | |
"level": "Blocker", | |
"description": "Attribution link missing, please use <a href=\"http://vip.wordpress.com/documentation/powered-by-wordpress-com-vip/\">vip_powered_wpcom()</a>", | |
"lines": [ | |
"" | |
], | |
"file": "" | |
}, | |
{ | |
"level": "Note", | |
"description": "Getting option", | |
"lines": { | |
"34": "&lt;?php if ( get_comment_pages_count() &gt; 1 &amp;&amp; get_option( 'page_comments' ) ) : // are there comments to navigate through", | |
"54": "&lt;?php if ( get_comment_pages_count() &gt; 1 &amp;&amp; get_option( 'page_comments' ) ) : // are there comments to navigate through", | |
"77": "$req = get_option( 'require_name_email' );" | |
}, | |
"file": "comments.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Getting option", | |
"lines": { | |
"113": "if ( (function_exists( 'of_get_option' )) &amp;&amp; (of_get_option('sidebar-layout', true) != 1) ) {", | |
"114": "if (of_get_option('sidebar-layout', true) == 'right') {", | |
"149": "if ( is_singular() &amp;&amp; comments_open() &amp;&amp; get_option( 'thread_comments' ) ) {", | |
"160": "if ( (function_exists( 'of_get_option' )) &amp;&amp; (of_get_option('headcode1', true) != 1) ) {", | |
"161": "echo of_get_option('headcode1', true);", | |
"163": "if ( (function_exists( 'of_get_option' )) &amp;&amp; (of_get_option('style2', true) != 1) ) {", | |
"164": "echo '&lt;style&gt;'.of_get_option('style2', true).'&lt;/style&gt;';", | |
"166": "if ( ( ( of_get_option('slider_enabled') != 0 ) &amp;&amp; (is_home() ) )", | |
"167": "|| ( (of_get_option('slider_enabled_front') != 0 ) &amp;&amp; (is_front_page() ) ) )", | |
"188": "if ( of_get_option('credit1', true) != 0 ) {" | |
}, | |
"file": "functions.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Updating option", | |
"lines": { | |
"62": "update_option( 'optionsframework', $optionsframework_settings );", | |
"67": "update_option( 'optionsframework', $optionsframework_settings );", | |
"124": "update_option( 'optionsframework', $optionsframework_settings );", | |
"129": "update_option( 'optionsframework', $optionsframework_settings );" | |
}, | |
"file": "options-framework.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Getting option", | |
"lines": { | |
"43": "$optionsframework_settings = get_option('optionsframework' );", | |
"54": "$default_themename = get_option( 'stylesheet' );", | |
"72": "if ( ! get_option( $optionsframework_settings['id'] ) ) {", | |
"106": "$optionsframework_settings = get_option( 'optionsframework' );", | |
"412": "if ( ! function_exists( 'of_get_option' ) ) {", | |
"414": "function of_get_option( $name, $default = false ) {", | |
"415": "$config = get_option( 'optionsframework' );", | |
"421": "$options = get_option( $config['id'] );" | |
}, | |
"file": "options-framework.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Adding Option", | |
"lines": { | |
"100": "* http://codex.wordpress.org/Function_Reference/add_option", | |
"139": "add_option( $option_name, $values ); // Add option with default settings" | |
}, | |
"file": "options-framework.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Getting option", | |
"lines": { | |
"33": "$optionsframework_settings = get_option( 'optionsframework' );", | |
"43": "$settings = get_option($option_name);" | |
}, | |
"file": "options-interface.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Getting option", | |
"lines": { | |
"17": "$optionsframework_settings = get_option( 'optionsframework' );" | |
}, | |
"file": "options-media-uploader.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Updating option", | |
"lines": { | |
"16": "update_option( 'optionsframework', $optionsframework_settings );" | |
}, | |
"file": "options.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Getting option", | |
"lines": { | |
"14": "$optionsframework_settings = get_option( 'optionsframework' );" | |
}, | |
"file": "options.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Working with superglobals", | |
"lines": { | |
"260": "* @uses $_POST['reset'] to restore default options", | |
"272": "if ( isset( $_POST['reset'] ) ) {", | |
"280": "* This used to check for $_POST['update'], but has been updated", | |
"298": "// Set checkbox to false if it wasn't sent in the $_POST", | |
"303": "// Set each item in the multicheck to false if it wasn't sent in the $_POST" | |
}, | |
"file": "options-framework.php" | |
}, | |
{ | |
"level": "Note", | |
"description": "Working with superglobals", | |
"lines": { | |
"65": "$GLOBALS['comment'] = $comment;" | |
}, | |
"file": "template-tags.php" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment