Search your current plugin/theme/core files for keywords from admin. A 3rd party plugin bugfixers dream.


Broken plugin? Broken theme? Bizarre error messages? How to find the problem? Track it down fast with WP BugBot, the Plugin and Theme Search Engine Editor.

** "Every good set up deserves a PATSEE..!" **

Lets you search your plugin and theme files for keywords from the editor screens! A 3rd party developer and bugfixers dream... find and squash those pesty bugs.

NEW:

  • PHP Error Log AutoSearch and Viewer on Settings Page
  • Directory navigation for the plugin and theme editor screens!
  • Active and inactive plugins/themes are grouped in the selector
  • You can now search (but not edit) Wordpress Core files too
  • Works with Multisite (access from network/plugins.php etc.)

WP BugBot Home Support Forum

Search:

  • Search for any keyword or phrase
  • Search all, individual or multiple-select plugins!
  • Search all active, inactive or update-available plugins
  • Search all installed themes or a single themes files
  • Search root, wp-includes or wp-admin files or subdirectories
  • Case sensitive or insensitive matching

Results:

  • Highlighted results for every occurrence
  • Files and line numbers linked to file editor page
  • Snipped but expandable long results lines

Options:

  • Option to save last searched keyword/plugin/theme
  • Add to the default Wordpress editable plugin file extensions
  • Choose which file extensions not to search through

Editor:

  • Adds directory navigation for plugin and theme files
  • Shows Plugin/Theme files not editable/listed by Wordpress
  • Javascript jump to line and find in code on editor screen

WP BugBot Home Support Forum

Where is the search interface?

When the plugin is activated, the search interfaces are available: The Plugin search interface is at the top of the Plugins -> Editor page. The Theme search interface is at the top of the Appearance -> Editor page. The Wordpress Core search interface is at the top of the Dashboard -> Updates page. The PHP Error Log Viewer at the bottom of the Settings -> WP BugBot admin page.

Where are the plugin settings?

There are some minimal options for this plugin so they are available after searching. After performing a search (see above) the WP BugBot sidebar will appear on the right. Click on Plugin Options at the top of the search sidebar to change available options.

How can I edit files with unsupported extensions?

By default Wordpress limits the editable extensions for files in the inbuilt editor. The default extensions are: php, txt, text, js, css, html, htm, xml, inc, include If you want to change which files extensions you can edit you can do so this way:

Perform a search from an editor page and the WP BugBot plugin sidebar will appear. Click on Plugin Options and you will see a list of editable extensions. Add the extensions (comma separated) that you want to the list and click Save. Files with these extensions should now be editable with the Wordpress internal editor.

How can I change what is not searched?

By default WP BugBot will not search through most common media file extensions: zip, jpg, gif, png, bmp, svg, psd, mp3, wma, m4a, wmv, mpg, mkv, avi, mp4, flv, swf If there are other file extensions you want to ignore, you can add them this way:

Perform a search from an editor page and the WP BugBot plugin sidebar will appear. Click on Plugin Options and you will see a list of editable extensions. Add the file extensions (comma separated) here to not search, and click Save.

How can I speed up the search?

If your search is taking too long or timing out, generally it is because you are searching through too many plugins at once (eg. ALL) so you might need to narrow your search by using the multi-select option and searching through half or a third of your plugins at once. Also, you might want to check you server's maximum execution time limit for scripts and increase that if it is too low.

Can I use the plugin with file editing disabled?

Yes, if you have defined DISALLOW_FILE_EDIT as true in your wp-config.php to remove the plugin and theme editing interfaces, you can still use the plugin and theme search. BugBot will detect this is the case and move all interfaces to the core Updates page.

The scroll to line feature is not working properly for me?

This feature is thanks to Andrew Buckman's Wordpress Editor Search: http://www.theoneandtheonly.com/wordpress-editor-search/ A number of alternatives were tested and this one worked the best at the time, however there is no foolproof way to scroll to a specific line inside a normal textarea that works in all browsers and browser versions. If the line is not scrolled to automatically, you can simply click on the pre-filled 'Find in Text' to search for the occurence inside the text area. (Alternatively, Press Control-F or Apple-F to use your browser's inbuilt search.)

How do I filter the PHP error log files searched for?

WP BugBot will attempt to automatically detect the setting for your PHP error log files. If you have a more complex setup or wish to change the filenames that are searched for, you can use the filter 'bugbot_error_log_search' to return an array of error log filenames. If you wish to turn this feature off (it is run on the WP BugBot admin screen only) simply use this same filter and return an empty array.

1.7.3

  • Added error log search filename filter
  • Extend error search for subdirectory installs

1.7.2

  • Update to WordQuest Library 1.6.6
  • Fix error log links to file content displays
  • Use WP Filesystem writing for theme editor

1.7.1

  • Update to Freemius Library 1.2.1.5
  • Added input for error log lines to process
  • Check theme editor and write method before using
  • Allow for searching with DISALLOW_FILE_EDIT true

1.7.0

  • Added error log searches and display
  • Use single global plugin options array
  • Added Settings saving validation
  • Update to Wordquest Library 1.6.5
  • Added Search Time Limit option
  • Fix to theme editor loading
  • Added translation ready wrappers

1.6.0

  • Transition to WordQuest release
  • Added Freemius Features
  • Added Standalone Settings Page
  • Group/Mark Parent Theme in Theme Select Box
  • Single Icon Display Fix for search pages
  • Fixed Plugin Directory Selection on Filepage

1.5.0

  • Added directory selection for plugin files
  • Added all active/inactive plugin search
  • Added update available plugin search
  • Added some styling to select boxes
  • Added more core path options to core search
  • Added * to mark update available plugins
  • Added time limit adjustment for searches
  • Added modified copy of theme-editor.php
    • to allow changing of editable extensions
    • also to allow theme directory selection
  • Added magnifying glass icon to search bar
  • Grouped active/inactive plugins in select
  • Grouped current/inactive themes in select
  • Improved Styling on search display screen
  • Fix for repeat multiple plugin searches
  • Fix to view unlisted plugin file
  • Fix to show plugin unlisted files
  • Fix to subsubdirectory recursion listing

1.4.5

  • Fix to Default Editable Extensions (again)
  • Fix to Plugin File Editor Links

1.4.0

  • Added Multisite support
  • Added Wordpress Core file search
  • Added unlisted files display
  • Fixed adding of editable extensions
  • Fixed parent/child theme selection bug
  • Minor display bugfixes

1.3.0

  • Public release version.

1.2.0

  • Pre release version.

1.1.0

  • Unreleased version.

1.0.0

  • Development version.


  1. Upload wp-bugbot.zip via the Wordpress plugin installer.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. The search menus are added to the Plugin and Theme Editors.
  4. Core search is available via the Updates page.


 

Please Login (or Register) to Download this Plugin.
Log In

Leave a Reply

Your email address will not be published. Required fields are marked *