
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
4640 天前
最後更新
—
問題解決
WordPress 3.5+ v0.9 上架:2013-07-03
內容簡介
query_posts() 函數常常被主題和外掛的開發者誤用。這款小型外掛程式將在主題或外掛中使用 query_posts() 函數時,呼叫 WordPress 內建的 _doing_it_wrong() 函數。它不會阻止查詢本身,但在除錯模式下會發出提示。
如果你的朋友使用 query_posts(),可以使用這個外掛來幫助他們。
外掛標籤
開發者團隊
原文外掛簡介
The query_posts() function is often misused by theme and plugin developers. This little plugin will call WordPress’ built-in _doing_it_wrong() function, whenever query_posts() is used within a theme or plugin. It doesn’t stop the query itself, but simply issues a notice if running in debug mode.
If you have a friend who uses query_posts(), use this plugin to help your friend out.
