問題描述

我用 a commit on 2010-05-12 釋出了第一個版本的 my Rewrite analyzer plugin 。然而,WordPress.org 外掛目錄 still displays 2010-11-27 as the “Last Updated” date – 這是在儲存庫中建立外掛目錄的日期。

The Developer FAQ 狀態:

Last updated time
Time of last check in to the appropriate directory (trunk/ or the stable tag directory) after a version number change.

大多數開發人員在他們的外掛目錄被建立之後提交他們的第一個版本,所以你不會注意到這個區別。但我的 seen the same discrepancy 在其他外掛 that were committed more than one day after the directory was created

我一次性提交了 trunk/tags/1.0/目錄 (具有本地副本,然後提交),但是與其他外掛一樣,大多數人都這麼做:提交 trunk/,然後遠端複製到 tags/1.0/

Otto recently said

The only time the readme gets parsed and the entry gets rebuilt is when the version of the plugin changes. However, for people using tags, this generally happens after they make the new tag and update the Stable Tag.

自述檔案被解析了,所以我不知道還能做些什麼來使它正確更新?

最佳解決方案

我一直在努力解決這個問題幾個月,並進行了幾個調整,以嘗試解決問題。

簡而言之:是的,我們知道有一個問題。不,我不知道如何解決它。您可以停止報告。

當前的解決方法:任何型別的任何提交都應該觸發它進行更新。所以只需在 readme.txt 中新增一個空格,等待 30 分鐘即可。如果沒有,請聯絡我:otto@wordpress.org

參考文獻

注:本文內容整合自 Google/Baidu/Bing 輔助翻譯的英文資料結果。如果您對結果不滿意,可以加入我們改善翻譯效果:薇曉朵技術論壇。