Debug Bar Rewrite Rules

外掛說明

Debug Bar Rewrite Rules 會將由篩選器變更的重寫規則相關資訊新增至 Debug Bar 外掛的面板中。這個外掛是 Debug Bar 的擴充功能,但它也能以獨立模式執行 (在管理後台的 [工具] 中)。請注意,這個外掛無法追蹤呼叫 add_rewrite_rule 函式的結果,因為這個函式無法追蹤。

外掛安裝並啟用後,網站管理員便可以存取以下資訊:

  • 現有重寫規則的數量
  • 重寫規則清單
  • 能影響重寫規則且目前可用的篩選器勾點清單
  • 能影響重寫規則的篩選器清單
  • 搜尋規則並以醒目提示顯示相符項目
  • 可以測試網址並查看可以套用哪些規則
  • 可以從 Debug Bar 面板/[工具] 頁面重新整理規則

螢幕擷圖

  • 測試相符項目的網址:顯示相符的規則及實際相符項目
  • 在規則清單中搜尋,並將結果進行篩選及醒目提示
  • 重寫規則偵測器介面 (不安裝 Debug Bar 的獨立模式)

使用者評論

2020 年 12 月 4 日
This plugin makes it so easy to debug and even discover WP rewrite rules. Thanks a lot!!
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.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Debug Bar Rewrite Rules〉的開發相關工作。

參與者

Debug Bar Rewrite Rules 外掛目前已有 8 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Debug Bar Rewrite Rules 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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