Last active
July 24, 2017 22:32
-
-
Save josephfusco/1e74cc3ae51496bc47629c6a7c5f5f35 to your computer and use it in GitHub Desktop.
Using grep to assist with finding key words in code that could possibly be problematic. (WPCampus 2017 CampusPress code review presentation)
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
grep -nr 'file_get_contents\|wp_remote_\|wp_feed_cache_transient_lifetime\|base64_decode\|SHOW TABLES\|WP_DEBUG\|error_reporting\|display_errors\|scream.enabled\|rewrite_rules\|flush_rules\|googlesyndication.com\|remove_role\|ALLOW_EXTERNAL\|ofc_upload_image.php\|woothemes_framework_update_head\|wpdb\|CURLOPT_CONNECTTIMEOUT\|WPCom_Theme_Updater\|dbDelta\|mysql_connect\|wp_mkdir_p\|wp_cache_flush\|wp_clean_plugins_cache\|wp_cache_delete\|do_shortcode\|switch_to_blog' . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment