[WordPress] 外掛分享: Restore Admin Menu (ru_RU)

首頁外掛目錄 › Restore Admin Menu (ru_RU)
WordPress 外掛 Restore Admin Menu (ru_RU) 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3971 天前
最後更新
問題解決
WordPress 3.5+ v0.2 上架:2013-08-31

內容簡介

在WordPress 3.3.x 版本之前,俄文WordPress套件中有一些CSS修正,以便在管理選單和其他UI元素中腾出空间以進行翻譯字串的顯示。

在 WordPress 3.4 和 3.5中,這些修正已經合併到core中(參見#19603 和 #20975)。然而,在自動更新期間不會刪除過時的語言文件(參見#20974)。不幸的是,當直接從 3.1.x 或更早版本直接更新到來自ru.wordpress.org最新版本時,這導致管理選單會消失。

過時的文件列表如下:

wp-content/languages/ru_RU.php
wp-content/languages/ru_RU.css
wp-content/languages/ru_RU-ie.css
wp-content/languages/ms-ru_RU.css

最好的方法是通過FTP手動刪除這些過時的檔案。如果由於某些原因您無法這樣做,您可以嘗試使用這個外掛,該外掛通過解除挂鈎ru_accomodate_markup()函數來恢復管理選單,並試圖移除過時的檔案。

安裝並啟用插件後,請嘗試停用它。如果您仍然可以看到管理選單,您可以安全地刪除外掛程式,它的任務已經完成。如果您看不到管理選單,請再次啟用外掛。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Restore Admin Menu (ru_RU)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Up to 3.3.x, Russian WordPress packages had some CSS fixes to make room for translated strings in the admin menu and other UI elements.
In 3.4 and 3.5, those fixes were merged into core (see #19603 and #20975). However, obsolete language files are not deleted during an automatic update (see #20974). Unfortunately, this causes the admin menu to disappear when directly updating from 3.1.x or an older version to the latest releases from ru.wordpress.org.
The list of obsolete files:
wp-content/languages/ru_RU.php
wp-content/languages/ru_RU.css
wp-content/languages/ru_RU-ie.css
wp-content/languages/ms-ru_RU.css

The best option is just to remove them manually via FTP. If for some reason you can’t do that, you can try this plugin, which restores the admin menu by unhooking ru_accomodate_markup() function and attempts to remove the obsolete files.
After installing and activating the plugin, try deactivating it. If you still see the admin menu, you can safely remove the plugin, its job is done. If you can’t see the admin menu, activate the plugin again.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon