0
我已經通過代碼刪除的每一行挖,評論和檢查,直到我達到幾行代碼:PHP打破我的媒體庫可溼性粉劑管理員
/* Retrieve Shortcodes
* @see http://fwp.drewsymo.com/shortcodes/
*/
$foundation_shortcodes = trailingslashit(get_template_directory()) . 'inc/shortcodes.php';
if (file_exists($foundation_shortcodes)) {
require($foundation_shortcodes);
}
當刪除/評論,媒體庫將顯示圖像。媒體現場直播時不起作用。我檢查了其他所有可能性,插件,shortcodes.php文件中的代碼(刪除了文件中的所有內容並進行了測試),但上面的代碼正在破壞一些東西。怎麼了?
我不是一個PHP傢伙,這個代碼有什麼問題?它必須是部分正確的,因爲它拉入了shortcodes.php內容,並且簡碼在頁面上工作。
(functions.php中的內部代碼)
我刪除了短代碼文件中的所有內容,並且行爲相同。 – bradmagnus
你是否在php錯誤日誌中得到任何東西? – Gold