开发者 | majick |
---|---|
更新时间 | 2019年7月25日 00:12 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.0 及以上 |
WordPress版本: | 5.2.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wp-bugbot.zip
via the Wordpress plugin installer.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.
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.
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.
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.
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.
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.
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.
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.