설명
Debug Bar Rewrite Rules adds information about Rewrite Rules (changed via filters) to a new panel in the Debug Bar. This plugin is an extension for Debug Bar, but it is also can work in standalone mode (as admin tools page). Note: this plugin not able to track add_rewrite_rule
function calls, for a reason this function is untraceable.
Once installed, you will have access to the following information:
- Number of existing rewrite rules
- List of rewrite rules
- List of available filter hooks that can affect rewrite rules.
- List of filters that affects rewrite rules.
- Ability to search in rules with highlighting matches.
- Ability to test url and see what rules can be applied to it.
- Ability to flush rules directly from debug bar panel/tools page.
스크린샷
후기
2020년 12월 4일
This plugin makes it so easy to debug and even discover WP rewrite rules. Thanks a lot!!
2020년 10월 28일
Ability to quickly display all rules that match a URL just saved me a lot of time.
2020년 10월 8일
I was setting up rewrite rules for the first time and had set some breakpoints to take a look at the existing rules when I thought, “there must be a plugin for this.” And there was. Not only does it let you examine the existing rules, but you can also test urls to determine which rules match and the resulting query args.
I ran into one small issue as a result of some of my debug settings and the developer fixed it and deployed a new version quickly.
It’s joined the few plugins in the boilerplate site I use as the starting point for new sites.
Thanks, Oleg.
2020년 1월 14일
Good visual presentation of data. There is more information and it is more conveniently organized than in the Rewrite Rules Inspector, for example.
Automatically integrates into the Debug Bar, if installed.
2018년 3월 25일
Really nice tool for working with rewrite_urls array and permalinks customizations.
기여자 & 개발자
변경이력
0.6.5
- [bugfix] – php8.0 compatible call_user_func_array calls.
0.6
- [general] – way assets appear on a page changed.
- [bug] – Fixed: warning on private static var
- [bug] – Fixed: admin page https://github.com/butuzov/Debug-Bar-Rewrite-Rules/issues/2
- [bug] – Fixed: domain field https://github.com/butuzov/Debug-Bar-Rewrite-Rules/issues/3
- [general] – added Makefile to simplify development
0.5
- [minor changes] – Localization Changes.
- [improvement] – New Icon (for wordpress.org) and tags.
- [code refactoring] – Minor code changes.
0.4
- [improvement] – Added track for PHP
__invoke
methods (callable objects) - [bugfix] – Added fix for plugin loaded via symlinks
- [code refactoring] – Code of PHP and JS refactored.
0.3
- [ui] UI Change – Domain input box width calculated with JS
- [bugfix] – e.preventDefault()
- [bugfix] – Double check for empty array in filters UI
0.2
- Code refactored from version 0.1
0.1
- Non Public Release