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.
- 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.)
- 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
- Highlighted results for every occurrence
- Files and line numbers linked to file editor page
- Snipped but expandable long results lines
- 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
- Adds directory navigation for plugin and theme files
- Shows Plugin/Theme files not editable/listed by Wordpress
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 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. 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 original feature was thanks to Andrew Buckman's Wordpress Editor Search: http://www.theoneandtheonly.com/wordpress-editor-search/ This should still work fine for legacy installations (pre WP 4.9), however as the code editor has been replaced by Code Mirror from WP 4.9 onwards, a new solution will need to be implemented for this in a future version.
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.
- Updated to Options and Settings to use Plugin Loader
- Updated to use global settings array
- Removed replace Theme Editor default (no longer needed)
- Filter manage plugin settings capability
- Fix editable theme and plugin extensions
- Added settings reset button and processing
- Fixes for warnings and undefined variables
- Use generic page elements for editor toolbar
- Update to Freemius SDK to 18.104.22.168
- Update to Wordquest Helper 1.6.9
- Improved plugin option for filtering
- Fix to theme object for search
- Fix to last searched saving logic
- Fix to settings page link for DISALLOW_FILE_EDIT
- Fix to permission checks for DISALLOW_FILE_EDIT
- Added error log search filename filter
- Extend error search for subdirectory installs
- Update to WordQuest Library 1.6.6
- Fix error log links to file content displays
- Use WP Filesystem writing for theme editor
- Update to Freemius Library 22.214.171.124
- Added input for error log lines to process
- Check theme editor and write method before using
- Allow for searching with DISALLOW_FILE_EDIT true
- 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
- 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
- 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
- Fix to Default Editable Extensions (again)
- Fix to Plugin File Editor Links
- 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
- Public release version.
- Pre release version.
- Unreleased version.
- Development version.
wp-bugbot.zipvia the Wordpress plugin installer.
- Activate the plugin through the 'Plugins' menu in WordPress.
- The search menus are added to the Plugin and Theme Editors.
- Core search is available via the Updates page.