久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress:Submitting Bugs

來(lái)自站長(zhǎng)百科
跳轉(zhuǎn)至: 導(dǎo)航、? 搜索

Every application has bugs -- as long as humans write code, there will continue to be errors in software. Some errors are trivial, while others are critical. Open-source projects like WordPress:WordPress need the participation of their user communities to identify bugs in their software, as well as to plan for new features.

每種軟件都有錯(cuò)誤 – 只要是人寫(xiě)代碼,軟件中就會(huì)有錯(cuò)誤,有些錯(cuò)誤是微不足道的,但是有些是非常嚴(yán)重的。開(kāi)源項(xiàng)目如 WordPress 需要使用者的參與來(lái)找出軟件中的錯(cuò)誤,同樣也包括新功能的開(kāi)發(fā)。

All types of feedback — whether they're genuine bugs or feature requests — are reported the same way in the WordPress project. Read on to learn how to report bugs and issues for WordPress... you may also want to read WordPress:Contributing to WordPress to find out how to contribute to the documentation and other areas of the WordPress project.

所有類型的反饋— 不管是真正的錯(cuò)誤還是有用的請(qǐng)求— 都在WordPress 中用同樣的方法提交。閱讀WordPress關(guān)于如何提交錯(cuò)誤和問(wèn)題的信息... 你可能會(huì)想要閱讀為WordPress做貢獻(xiàn)來(lái)找出如何為文檔資料和WordPress其他方面做貢獻(xiàn)。

Reporting security issues

While we try to be proactive in preventing security problems, we do not assume they'll never come up. If you believe you've found a security problem in a release of WordPress please send mail to security at the WordPress.org domain and we'll do our best to address it as soon as possible.

It is standard practice to notify the vendor (the WordPress developers, in this case) of a security problem before publicizing so a fix can be prepared and public damage due to the vulnerability minimized.

提交安全問(wèn)題

當(dāng)我們?cè)囍乐钩霈F(xiàn)安全問(wèn)題時(shí),我們不能認(rèn)為它們不會(huì)出現(xiàn)。如果你相信你在WordPress某個(gè)版本中找到了安全問(wèn)題,發(fā)郵件到WordPress.org上的security 區(qū)域,我們將盡力盡快解決。

通知賣(mài)主(這里是指WordPress開(kāi)發(fā)人員)是在發(fā)布之前的安全問(wèn)題的標(biāo)準(zhǔn)練習(xí),這樣可以準(zhǔn)備好修正版本,這造成的損失可以降低到最小。

Reporting Bugs in Plugins and Themes

If you find a bug in a Plugin or Theme you are using with WordPress, do NOT report it using the procedures in this article! Instructions in this article apply only to bugs in the WordPress core, and do not apply to bugs in plugins and themes.

Plugins which reside in the WordPress Plugin Repository have a separate bug tracking system from the WordPress core. Separate instructions are available for using that system.

For plugins which do not reside in the official repository, and for themes, check the documentation that came with the plugin or theme for instructions on where to report bugs. If no bug reporting information came with your plugin or theme, you'll need to contact the author directly.

提交插件和主題中的錯(cuò)誤

如果你在使用時(shí)插件或者主題中發(fā)現(xiàn)了錯(cuò)誤,不要 使用本文中的方法進(jìn)行提交! 本文提供的方法只適用于WordPress核心文件的錯(cuò)誤,不適合于插件和主題中的錯(cuò)誤。

WordPress插件庫(kù)中的插件有一個(gè)來(lái)自 WordPress 核心的單獨(dú)的錯(cuò)誤跟蹤系統(tǒng)。有一個(gè)如何使用這個(gè)系統(tǒng)的 單獨(dú)的說(shuō)明。

對(duì)于不在官方庫(kù)中的插件和主題,查看其附帶的文檔資料作為關(guān)于如何提交錯(cuò)誤的說(shuō)明。如果沒(méi)有錯(cuò)誤提交信息,你需要直接聯(lián)系作者。

Overview of Bug Reporting and Resolution

There are several steps in the process of reporting and resolving a WordPress bug. Here is an overview; more details are in sections below.

錯(cuò)誤提交和解決總覽

提交和解決WordPress錯(cuò)誤的過(guò)程有幾步,這里是一個(gè)總的概括,下面可以找到更多細(xì)節(jié)。

  1. A user finds a bug that appears to be in the core of WordPress (not in a Theme or Plugin).
  2. The user tries to make sure it is actually a bug. See [[WordPress:#Before You Report a Bug|Before You Report a Bug (below)]].
  3. If it is determined to be a bug, the user submits the bug report, called a ticket, to Trac, the WordPress bug tracking system. See [[WordPress:#Reporting a Bug|Reporting a Bug (below)]].
  4. A WordPress developer (who could be a volunteer like you) confirms that the bug does actually exist, and that it should be fixed, and marks it as such in the ticket. See [[WordPress:#Trac Keywords|Trac Keywords list (below)]] and [[WordPress:#Bug Resolutions|Bug Resolutions (below)]].
  5. A WordPress developer (which could be you) decides to fix the bug. The developer may choose to take responsibility for the bug by clicking on the Accept ticket option near the bottom of the ticket, though this is not required. Then the developer figures out how to fix the bug, creates one or more patch files, and uploads them to Trac. See [[WordPress:#Patching Bugs|Patching Bugs (below)]]. Also, if you want to help with fixing bugs, but don't know what bugs to fix, see [[WordPress:#Finding Bugs to Fix|Finding Bugs to Fix (below)]].
  6. Members of the WordPress development group (including volunteers) test the patch, to see if it fixes the bug and doesn't break anything else. They add comments and keywords to the ticket to indicate their results. See [[WordPress:#Trac Keywords|Trac Keywords list (below)]].
  7. One of the WordPress developers with authority to modify the official WordPress source code (Matt Mullenweg, Ryan Boren, Mark Jaquith or Peter Westwood) commits the patch to the core code in the SVN repository. They are more likely to do this if the bug and patch has been verified by someone they trust.
  8. Finally, the person who commits the patch sets the bug ticket status to closed and the resolution to fixed. See [[WordPress:#Bug Resolutions|Bug Resolutions (below)]].
  1. 用戶發(fā)現(xiàn)了錯(cuò)誤,出現(xiàn)在WordPress核心文件中 (不在主題或者插件中).
  2. 用戶嘗試著確認(rèn)這確實(shí)是一個(gè)錯(cuò)誤。參見(jiàn) [[WordPress:#Before You Report a Bug|提交錯(cuò)誤之前(下面)]].
  3. 如果確定它是一個(gè)錯(cuò)誤,用途提交錯(cuò)誤報(bào)告到Trac,叫做ticket,WordPress錯(cuò)誤跟蹤系統(tǒng)。參見(jiàn)[[WordPress:#Reporting a Bug|提交錯(cuò)誤 (下面)]].
  4. WordPress 開(kāi)發(fā)人員 (可能也是象你一樣的志愿者) 確認(rèn)錯(cuò)誤的確存在,然后它應(yīng)該被修正。然后象在票上做記號(hào)那樣標(biāo)記出來(lái)。參見(jiàn)[[WordPress:#Trac Keywords|Trac 關(guān)鍵詞列表(下面)]] 和 [[WordPress:#Bug Resolutions|錯(cuò)誤解決方案(下面)]].
  5. WordPress 開(kāi)發(fā)人員 (可能是你)決定修復(fù)這個(gè)錯(cuò)誤。開(kāi)發(fā)者可能選擇通過(guò)點(diǎn)擊ticket底部附近的 Accept ticket操作來(lái)負(fù)責(zé)這個(gè)錯(cuò)誤,盡管這不是必須的。然后開(kāi)發(fā)人員指出如何修復(fù)這個(gè)錯(cuò)誤,創(chuàng)建一個(gè)或者多個(gè)補(bǔ)丁,上傳到Trac. 參見(jiàn) [[WordPress:#Patching Bugs|錯(cuò)誤補(bǔ)丁(下面)]]。同樣的,如果你想要幫助修復(fù)錯(cuò)誤,但是不知道需要修復(fù)哪個(gè)錯(cuò)誤,參見(jiàn)[[WordPress:#Finding Bugs to Fix|找到錯(cuò)誤并修復(fù) (下面)]].
  6. WordPress開(kāi)發(fā)小組成員(包括志愿者)測(cè)試補(bǔ)丁,查看是否錯(cuò)誤被修復(fù)了而沒(méi)有影響到其他東西。它們添加評(píng)論和關(guān)鍵詞到ticket,顯示出它們的結(jié)果。參見(jiàn) [[WordPress:#Trac Keywords|Trac 關(guān)鍵詞列表(下面)]].
  7. WordPress 開(kāi)發(fā)員中的一個(gè)擁有修改官方WordPress源代碼權(quán)限的人(Matt Mullenweg, Ryan Boren, Mark Jaquith or Peter Westwood) 提交 補(bǔ)丁給SVN庫(kù)中的核心代碼。如果錯(cuò)誤和補(bǔ)丁被他們所信任的某人驗(yàn)證過(guò)后,他們會(huì)這樣做的。
  8. 最后,提交補(bǔ)丁的這個(gè)人設(shè)定ticket狀態(tài)為closed,結(jié)論是fixed。參見(jiàn) [[WordPress:#Bug Resolutions|錯(cuò)誤結(jié)論(下面)]].

Details of Bug Reporting and Resolution

The sections below add details to some of the steps outlined above.

錯(cuò)誤報(bào)告和解決方案的詳細(xì)內(nèi)容

下面的部分給上述的提綱添加了詳細(xì)內(nèi)容。

Before You Report a Bug

With large projects like WordPress, so many users report bugs that there's a good chance your bug has already been reported. Because of this, it's very important to check to be sure it's not already in the system before you submit it. If you are new to reporting bugs in WordPress, it is also a good idea to discuss the issue with more experienced developers before reporting it. Please follow the steps below.

報(bào)告錯(cuò)誤之前

如WordPress這么大的項(xiàng)目,如此多的使用者提交錯(cuò)誤報(bào)告,很有可能你的錯(cuò)誤已經(jīng)被提交過(guò)了,正因?yàn)檫@樣,檢查并確定系統(tǒng)中它還沒(méi)有被提交過(guò)是很重要的。如果你剛開(kāi)始在WordPress中使用提交錯(cuò)誤,在提交之前和有經(jīng)驗(yàn)的開(kāi)發(fā)人員討論這個(gè)問(wèn)題是個(gè)好辦法。請(qǐng)按照下面的步驟。

  1. Search for your bug or feature request in Trac by using Search or a Query.
    • If your issue has already been reported, please do not report a duplicate bug. If you have further information to contribute, log in and add a note to the existing bug.
    • If your issue is similar, but not quite the same as another issue, you may decide whether to add a note to the similar issue, or report a new one. It can be difficult to decide whether your issue warrants a new submission, but in general if you just have more information to contribute to a current, open issue, simply add a note to that issue. If you have a different enough issue, or if you are experiencing a recurrence of an issue that was previously resolved, report a new bug.
    • If your issue was recently reported and then closed, and you do not agree with the resolution, you can also reopen the ticket and add a comment as to your reasoning.
  2. To discuss a bug before reporting it in Trac (e.g. to figure out if it is really a bug in the core of WordPress and not in a plugin or theme), you can post a question on the WordPress Support Forum, discuss your issue on the #wordpress IRC channel, or have an email discussion on the Testers or Hackers mailing list.
  1. 在Trac中通過(guò)使用搜索或者是查詢來(lái)查找你的錯(cuò)誤或者是功能請(qǐng)求。
    • 如果你的問(wèn)題已經(jīng)被提交過(guò)了,請(qǐng)不要重復(fù)提交。如果你有更深入的信息,登陸并添加信息記錄到已存在的錯(cuò)誤中。
    • 如果你的問(wèn)題相似,但是不完全和另一個(gè)問(wèn)題相同,你可以決定是否添加一個(gè)記錄到相似問(wèn)題中,或者是重新提交。很難決定是否你的問(wèn)題可以作為一個(gè)新的問(wèn)題提交,但是通常情況下,如果你只是有更多信息來(lái)提交的話,打開(kāi)問(wèn)題,簡(jiǎn)單的添加一個(gè)記錄就可以了。 如果你有個(gè)完全不同的問(wèn)題,或者如果你正經(jīng)歷了一個(gè)重復(fù)的以前解決過(guò)的問(wèn)題,可以提交一個(gè)新錯(cuò)誤。
    • 如果你的問(wèn)題最近提交了也關(guān)閉了,但是你不同意這樣的解決方法,你可以重新打開(kāi)ticket添加注釋,寫(xiě)明你的理由。
  2. 想在Trac上在提交之前討論一個(gè)錯(cuò)誤, (如判斷它是否是一個(gè)WordPress核心的而不是插件或者主題的錯(cuò)誤),你可以在WordPress 支持論壇上發(fā)個(gè)帖子,在#wordpress IRC 頻道 討論你的問(wèn)題,或者在檢測(cè)器Hackers郵件列表上參與郵件討論。

Reporting a Bug

Trac is the name of the official WordPress bug tracker. It uses the open source bug tracking software Trac which is a product from Edgewall Software. Follow these steps to create a good bug report in Trac:

提交錯(cuò)誤

Trac是官方WordPress錯(cuò)誤跟蹤器的名字。它使用開(kāi)發(fā)源碼跟蹤軟件Trac,它是 Edgewall Software的產(chǎn)品。安裝下面的步驟在Trac建立一個(gè)好的錯(cuò)誤報(bào)告:

  1. Read [[WordPress:#Before You Report a Bug|Before You Report a Bug (above)]], and verify that you have a new bug that is appropriate to report.
  2. Read this article on How to Report Bugs Effectively, and the Trac Ticket documentation.
  3. Log into WordPress Trac using your support forum username and password. If you don't have an account at the support forums, register so that you can login to Trac. This is essential for communication about your bug, since the developers may need more information (and you cannot create a ticket without logging in).
  4. Click New Ticket in Trac to reach the bug reporting page.
  1. 閱讀 [[WordPress:#Before You Report a Bug|提交錯(cuò)誤之前(上面)]], 然后驗(yàn)證你有一個(gè)新的可以提交的錯(cuò)誤。
  2. 閱讀如何有效的提交錯(cuò)誤這個(gè)文章,和Trac Ticket 文檔.
  3. 使用你的 using your 支持論壇的用戶名和密碼登陸WordPress Trac。如果你沒(méi)有帳戶, 注冊(cè) 一個(gè)這樣才可以登陸Trac。這隊(duì)伍你錯(cuò)誤的交流是必需的。因?yàn)殚_(kāi)發(fā)人員可能需要更多的信息(而你不能創(chuàng)建ticket 如果不登陸的話).
  4. 點(diǎn)擊Trac中 New Ticket 打開(kāi)錯(cuò)誤提交頁(yè)面。
  5. Fill in the following fields on the new ticket page:
    Short Summary
    Make the summary short but informative and accurate, as this is the ticket title that will be displayed in search results.
    Full Description
    Fill in a full description of your bug or feature request. Include a description of the problem, steps someone else would have to take to reproduce the problem, maybe an example of the bug in action (i.e. a URL), and a description of why it is a problem worthy of being corrected. Also include information about your platform, such as operating system, web server software, PHP version, MySQL version, and WordPress version. The better your description, the better the chances of having the bug resolved promptly.
    Ticket Properties
    Priority
    You will need to decide on a priority for the issue -- this is how urgent the bug is. Unless it is a critical bug, this is best left to the default as developers will usually rank the bug's priority.
    Component
    Select the component of WordPress where the bug was found
    Severity
    The significance of the issue. Select a severity based on how critical you consider the issue to be. If in doubt, leave this option as Normal.
    Assign to
    If you know of the developer who is responsible for the code that the bug is in, place their Trac username here. You can also take responsibility for the bug yourself, by putting your own Trac user name here. This is optional and could speed up developer attention to the bug.
    Milestone
    By what version this issue should be resolved, at the latest. Do not change this. This is an option that WordPress developers will set.
    Version
    The version of WordPress where the bug was found. You can find the version number of WordPress in the footer of the admin panel.
    Keywords
    Keywords that will make it easier for developers to find the bug, and identify the areas it affects. An example might be 'posting' for a bug involving the posting mechanism in WordPress. Also, there are some standard keywords used to flag your bug's status (see [[WordPress:#Trac Keywords|Trac Keywords]] below).
    CC
    Who bug information and updates should be sent to. If you want to be kept informed, enter your own Trac user name here. You will then be notified by email any time a change is made to this report, or a note to the bug is added. Don't ignore these emails; any time a change is made, be sure to check the report for updates. Developers may need further information from you, and this is their only way of getting in contact with you. Note: you need to go to the Trac Settings page to set your email address. Putting it into your Support Forum profile will not get it into Trac for purposes of CC messages.
  6. Click Submit Ticket (after previewing it). Then pat yourself on the back.
  1. 在新的ticket頁(yè)面上填寫(xiě)如下信息:
    簡(jiǎn)單摘要
    讓摘要簡(jiǎn)短但是要包含信息并且準(zhǔn)確,因?yàn)檫@是ticket的標(biāo)題,將會(huì)顯示在搜索結(jié)果中。
    完整的描述
    填寫(xiě)你的錯(cuò)誤或者是功能要求的完整的描述。包括一個(gè)問(wèn)題的描述,別人可以重復(fù)這個(gè)問(wèn)題的步驟,也可以是一個(gè)錯(cuò)誤的運(yùn)轉(zhuǎn)的例子 (如 URL), 或者是一個(gè)為什么問(wèn)題值得更正的描述。同樣包括關(guān)于你的平臺(tái)的信息,如操作系統(tǒng),網(wǎng)絡(luò)服務(wù)器軟件,PHP 版本, MySQL 版本, WordPress 版本。你描述的越好,解決錯(cuò)誤的可能性就越大。
    Ticket 屬性
    優(yōu)先級(jí)
    你需要確定這個(gè)問(wèn)題的優(yōu)先權(quán) – 這個(gè)錯(cuò)誤有多緊急。除非它是一個(gè)致命的錯(cuò)誤,最好是讓它保持默認(rèn)狀態(tài),因?yàn)殚_(kāi)發(fā)人員通常都是按照錯(cuò)誤優(yōu)先級(jí)的排序來(lái)的。
    組件
    選擇發(fā)現(xiàn)問(wèn)題所在的WordPress組件
    嚴(yán)重
    這個(gè)問(wèn)題的重要性。選擇一個(gè)severity基于你認(rèn)為這個(gè)問(wèn)題有多嚴(yán)重,如果有疑問(wèn),就保持默認(rèn)的Normal.
    分配
    如果你知道有負(fù)責(zé)存在錯(cuò)誤的代碼的開(kāi)發(fā)人員,把他們的Trac用戶名放在這里。你也可以自己為這個(gè)錯(cuò)誤負(fù)責(zé),把你自己的Trac用戶名放在這里就可以了。這是可以選擇的,這可以讓開(kāi)發(fā)人員更快的注意到這個(gè)錯(cuò)誤。
    里程表
    最遲在哪個(gè)版本這個(gè)問(wèn)題會(huì)被解決。不要更改它。這是WordPress 開(kāi)發(fā)人員設(shè)置的。
    版本
    錯(cuò)誤發(fā)現(xiàn)的WordPress 版本。你可以在管理面板的頁(yè)腳找到WordPress版本號(hào)。
    關(guān)鍵詞
    關(guān)鍵詞讓開(kāi)發(fā)人員更容易的找到錯(cuò)誤所在,確定它的影響范圍。例如'posting', 一個(gè)涉及到WordPress發(fā)表文章機(jī)制的錯(cuò)誤的關(guān)鍵詞。同樣,有標(biāo)準(zhǔn)關(guān)鍵詞用來(lái)標(biāo)記你的錯(cuò)誤的狀態(tài)(參見(jiàn) [[WordPress:#Trac Keywords|Trac 關(guān)鍵詞]] 下面).
    CC
    錯(cuò)誤信息和更新信息發(fā)送的對(duì)象。如果你想保持可以被通知到,把你自己的Trac名字寫(xiě)上。 當(dāng)這個(gè)報(bào)告有任何更改的時(shí)候,你將會(huì)被郵件通知。不要忽視這些郵件; 做出任何改動(dòng)后,確定查看一下報(bào)告更新。開(kāi)發(fā)人員可能需要從你這里獲得更多的信息,這是他們與你聯(lián)系的唯一的方法。 注意: 你需要進(jìn)入Trac 設(shè)置頁(yè)面來(lái)設(shè)置你的email地址。把他放到你的支持論壇個(gè)人資料里并不能讓你的資料進(jìn)入Trac以達(dá)到接收CC信息的目的。
  2. 點(diǎn)擊 提交Ticket (預(yù)覽之后). 然后返回。

Finding Bugs to Fix

If you want to fix bugs in the core parts of WordPress, but don't know which ones to fix, here are some suggestions on how to find bugs to fix:

找到錯(cuò)誤修正

如果你想修正WordPress核心部分的錯(cuò)誤,但是不知道修正哪個(gè),這里是一些關(guān)于如何找到修正的錯(cuò)誤的建議:

Patching Bugs

If you and are familiar with PHP and MySQL, and would like to help in the development of WordPress, then you are encouraged to patch WordPress bugs. Here are the steps to follow:

  1. Read [[WordPress:#Finding Bugs to Fix|Finding Bugs to Fix (above)]], and find a bug to fix in Trac.
  2. Connect to the WordPress Subversion (SVN) Repository using the username and password you acquired when registering. Read WordPress:Using Subversion if you are unfamiliar with SVN. All patches should be submitted against the latest code in the SVN repository.
  3. Figure out how to fix the bug, by modifying WordPress core files. You may want to discuss your proposed solution on the wp-hackers mailing list before finalizing it.
  4. Test your fix, verifying that the bug has been fixed, and that nothing else in WordPress is broken in the process.
  5. Create a patch file (or files) containing your fix. This is basically a diff of the fixed file(s) and the originals from SVN. See How to Patch WordPress by Owen Winkler for detailed instructions. There are also instructions for Linux/Mac command-line users in Mark Jaquith's Toolbox and Windows Tortoise SVN users in .
  6. Upload it to the ticket using the Trac Attach file button, and add has-patch to the keywords. If the patch needs testing, you might also put needs-testing, or one of the other Trac keywords; see [[WordPress:#Trac Keywords|Trac Keywords (below)]] for more information.

打補(bǔ)丁

如果你熟悉PHPMySQL,并且想幫助WordPress發(fā)展,那么我們鼓勵(lì)你為WordPress 的錯(cuò)誤打上補(bǔ)丁。如下是打補(bǔ)丁的步驟:

  1. 閱讀 [[WordPress:#Finding Bugs to Fix|找到錯(cuò)誤修正(上面)]], 然后在Trac中找到錯(cuò)誤并修正
  2. 使用你注冊(cè)的用戶名和密碼連接到WordPress Subversion (SVN) Repository,閱讀 使用子版本,如果你對(duì)SVN不熟悉的話。所有的補(bǔ)丁都會(huì)被提交的SVN,而不考慮最新的代碼。
  3. 找出如何通過(guò)修改WordPress核心文件修正錯(cuò)誤。你可能想在結(jié)束之前在wp-hackers 郵件列表上討論你的解決方案。
  4. 測(cè)試你的修改,驗(yàn)證錯(cuò)誤已經(jīng)被修正,而且在此過(guò)程中沒(méi)有其他的WordPress內(nèi)的東西被破壞。
  5. 創(chuàng)建一個(gè)包含你的修改的補(bǔ)丁文件。這完全與修正文件和SVN中的源文件不同。參見(jiàn)如何為WordPress打補(bǔ)丁 by Owen Winkler獲得詳細(xì)說(shuō)明。有Linux/Mac 的說(shuō)明,Mark Jaquith 的工具書(shū)中的命令行使用者,和Westi的Blog中Windows Tortoise SVN 的使用者.
  6. 使用TracAttach file 按鈕上傳到ticket,添加 has-patch到關(guān)鍵詞中。如果補(bǔ)丁需要測(cè)試,你可以把needs-testing也添加上,或者其他的Trac 關(guān)鍵詞; 參見(jiàn) [[WordPress:#Trac Keywords|Trac 關(guān)鍵詞 (下面)]] 獲得更多信息。

Trac Keywords

There are a number of keywords with defined meaning used in Trac that are commonly used; some are also searched for by Trac Reports.

reporter-feedback
A response is needed from the reporter. Further investigation is unlikely without a response to the questions from someone experiencing the problem.
has-patch
A solution to the ticket has been attached, and it is ready for review and/or committing.
needs-testing
Someone needs to test the solution.
2nd-opinion
Another person is needed to express an opinion about the problem or the solution.
dev-feedback
A response is wanted from a developer (not commonly used)
tested
The patch has been tested. When adding this tag please comment with the patch filename that was tested, how the patch was tested, and which version of WordPress was used (including the SVN revision number, if it is not an officially released version).
commit
The patch has been reviewed and tested by a trusted member of the development community; therefore the patch is ready to be added to the WordPress core files.
needs-patch
The ticket has been reviewed, found to be desirable to solve, and marked as especially needing a patch, or the submitted patch doesn't work and needs to be redone.
needs-unit-tests
The ticket has been reviewed, found to be desirable to solve and we would like some unit tests written to test the functionality and any patch that may exist before committing a change as the risk of causing other issues is high.
needs-doc
Inline documentation for the code is needed. These are either place holder tickets for individual files or tickets with patches for new functions which need documenting before they are committed.


Trac 關(guān)鍵詞

有很多有固定意思的關(guān)鍵詞經(jīng)常在Trac中使用; 一些可以通過(guò)Trac Reports搜索。

reporter-feedback
提交人的回復(fù)是必需的。深入的調(diào)查如果沒(méi)有經(jīng)歷過(guò)問(wèn)題本身的人的回復(fù)的話是靠不住的。
has-patch
已經(jīng)附上ticket的解決方法,準(zhǔn)備好再次檢查或者是提交。
needs-testing
某人需要測(cè)試這個(gè)解決方案
2nd-opinion
需要另外一個(gè)人來(lái)傳遞一個(gè)關(guān)于問(wèn)題或者解決方案的觀點(diǎn)
dev-feedback
需要開(kāi)發(fā)人員的回復(fù) (不常用)
tested
補(bǔ)丁測(cè)試過(guò)了. 當(dāng)添加這個(gè)標(biāo)簽時(shí)請(qǐng)加入測(cè)試的文件名字,補(bǔ)丁如何測(cè)試的,和使用了哪個(gè)WordPress版本(包括SVN版本號(hào),如果不是官方發(fā)布的版本的話).
commit
補(bǔ)丁已經(jīng)被某個(gè)開(kāi)發(fā)團(tuán)體中可以信任的人檢查過(guò),測(cè)試過(guò); 這樣這個(gè)補(bǔ)丁就已經(jīng)準(zhǔn)備添加到WordPress核心文件中了.
needs-patch
ticket已經(jīng)被檢查過(guò),發(fā)現(xiàn)描述為解決,但是標(biāo)記為特別需要一個(gè)補(bǔ)丁,或者提交的補(bǔ)丁不能使用需要重新做
needs-unit-tests
ticket已經(jīng)通過(guò)檢查,發(fā)現(xiàn)描述為解決,我們希望一個(gè)聯(lián)合測(cè)試,來(lái)測(cè)試功能性,因?yàn)樘峤磺案鞣N補(bǔ)丁的存在造成導(dǎo)致其他問(wèn)題的風(fēng)險(xiǎn)很高。
needs-doc
需要代碼的內(nèi)嵌文檔。這可以是在它們被提交之前保存ticket單獨(dú)文件或者是帶有新函數(shù)補(bǔ)丁需要的文檔資料。

Bug Resolutions

A ticket in Trac starts its life in the open status, and (hopefully) is eventually closed. When a ticket is closed, it is marked with one of the following status designations:

  • If your bug has been reported elsewhere, it will likely be closed with duplicate.
  • If the bug has already been fixed in the latest subversion code (which is probably not what you're running unless you have a local test blog), then it will be closed with fixed.
  • If it is decided that your bug isn't in fact a bug, but is the intended behaviour, it will be closed with invalid.
  • If no-one else can replicate the symptoms you describe, it will be closed with worksforme.
  • If your bug is a feature request that the developers don't want in the core, it will be marked as wontfix.

Please verify that your bug doesn't fall into one of these categories before submission.

錯(cuò)誤解決方案

Trac 中的ticket 在open狀態(tài)下開(kāi)始,最終到closed。當(dāng)一個(gè)ticket關(guān)閉后,它會(huì)被以下某個(gè)狀態(tài)之一標(biāo)記:

  • 如果你的錯(cuò)誤已經(jīng)提交到別的地方,它將以duplicate結(jié)束.
  • 如果錯(cuò)誤在最新的版本代碼中已經(jīng)修正(可能不是你在運(yùn)行的版本除非你有一個(gè)本地測(cè)試的blog),標(biāo)記為fixed.
  • 如果確定你的錯(cuò)誤事實(shí)上不是錯(cuò)誤,而是你故意的行為,會(huì)標(biāo)記為invalid.
  • 如果沒(méi)有其他人可以重現(xiàn)你所描述的現(xiàn)象,會(huì)以worksforme結(jié)束。
  • 如果你的錯(cuò)誤是一個(gè)功能請(qǐng)求,而開(kāi)發(fā)人員不想讓它出現(xiàn)在核心代碼中,標(biāo)記為 wontfix.

請(qǐng)驗(yàn)證你的錯(cuò)誤在提交時(shí)不屬于其中任何一種。

Notes

  • The processing of your bug may require your participation. Please be willing and prepared to aid the developers in resolving the issue.
  • Don't be upset if your bug gets resolved as "Not a bug" or "Won't fix". What seems like a bug to you may very well be a "feature". These resolutions just mean "not going to fix now", maybe in the future it will be a priority to solve.
  • Thank you for contributing to the development of WordPress!

  • 你的錯(cuò)誤的處理過(guò)程可能需要你的參與,希望你自愿并準(zhǔn)備好幫助開(kāi)發(fā)人員解決問(wèn)題。
  • 如果你的問(wèn)題被解決為"Not a bug" 或者 "Won't fix"時(shí)不要生氣,看起來(lái)對(duì)你是錯(cuò)誤的東西很可能是一種"功能". 這些解決方法只是意味這"現(xiàn)在不能解決", 可能將來(lái)會(huì)被解決的.
  • 感謝為WordPress做出的貢獻(xiàn)!