WIKI使用導(dǎo)航
站長(zhǎng)百科導(dǎo)航
站長(zhǎng)專(zhuān)題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢(qián)
- 虛擬主機(jī)
- cPanel
- 網(wǎng)址導(dǎo)航專(zhuān)題
- 云計(jì)算
- 微博營(yíng)銷(xiāo)
- 虛擬主機(jī)管理系統(tǒng)
- 開(kāi)放平臺(tái)
- WIKI程序與應(yīng)用
- 美國(guó)十大主機(jī)
編輯“WordPress:Submitting Bugs”
該編輯可以被撤銷(xiāo)。 請(qǐng)檢查下面的對(duì)比以核實(shí)您想要撤銷(xiāo)的內(nèi)容,然后發(fā)布下面的更改以完成撤銷(xiāo)。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
Every application has [[WordPress:Wikipedia:Computer bug|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. | |||
? | |||
每種軟件都有[[WordPress:Wikipedia:Computer bug|錯(cuò)誤]] – 只要是人寫(xiě)代碼,軟件中就會(huì)有錯(cuò)誤,有些錯(cuò)誤是微不足道的,但是有些是非常嚴(yán)重的。開(kāi)源項(xiàng)目如 [[WordPress:WordPress| WordPress]] 需要使用者的參與來(lái)找出軟件中的錯(cuò)誤,同樣也包括新功能的開(kāi)發(fā)。 | 每種軟件都有[[WordPress:Wikipedia:Computer bug|錯(cuò)誤]] – 只要是人寫(xiě)代碼,軟件中就會(huì)有錯(cuò)誤,有些錯(cuò)誤是微不足道的,但是有些是非常嚴(yán)重的。開(kāi)源項(xiàng)目如 [[WordPress:WordPress| 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. | |||
所有類(lèi)型的反饋— 不管是真正的錯(cuò)誤還是有用的請(qǐng)求— 都在WordPress 中用同樣的方法提交。閱讀WordPress關(guān)于如何提交錯(cuò)誤和問(wèn)題的信息... 你可能會(huì)想要閱讀[[WordPress:Contributing to WordPress|為WordPress做貢獻(xiàn)]]來(lái)找出如何為文檔資料和WordPress其他方面做貢獻(xiàn)。 | 所有類(lèi)型的反饋— 不管是真正的錯(cuò)誤還是有用的請(qǐng)求— 都在WordPress 中用同樣的方法提交。閱讀WordPress關(guān)于如何提交錯(cuò)誤和問(wèn)題的信息... 你可能會(huì)想要閱讀[[WordPress:Contributing to WordPress|為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 <tt>security</tt> at the <tt>WordPress.org</tt> 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)題 == | == 提交安全問(wèn)題 == | ||
第9行: | 第18行: | ||
通知賣(mài)主(這里是指WordPress開(kāi)發(fā)人員)是在發(fā)布之前的安全問(wèn)題的標(biāo)準(zhǔn)練習(xí),這樣可以準(zhǔn)備好修正版本,這造成的損失可以降低到最小。 | 通知賣(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 [http://dev.wp-plugins.org/ WordPress Plugin Repository] have a [http://dev.wp-plugins.org/report separate bug tracking system] from the WordPress core. [http://dev.wp-plugins.org/wiki/TracTickets 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ò)誤 == | == 提交插件和主題中的錯(cuò)誤 == | ||
第18行: | 第35行: | ||
對(duì)于不在官方庫(kù)中的插件和主題,查看其附帶的文檔資料作為關(guān)于如何提交錯(cuò)誤的說(shuō)明。如果沒(méi)有錯(cuò)誤提交信息,你需要直接聯(lián)系作者。 | 對(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ò)誤提交和解決總覽== | ==錯(cuò)誤提交和解決總覽== | ||
提交和解決WordPress錯(cuò)誤的過(guò)程有幾步,這里是一個(gè)總的概括,下面可以找到更多細(xì)節(jié)。 ? | 提交和解決WordPress錯(cuò)誤的過(guò)程有幾步,這里是一個(gè)總的概括,下面可以找到更多細(xì)節(jié)。 ? | ||
# A user finds a bug that appears to be in the core of WordPress (not in a Theme or Plugin). | |||
# The user tries to make sure it is actually a bug.? See [[WordPress:#Before You Report a Bug|Before You Report a Bug (below)]]. | |||
# If it is determined to be a bug, the user submits the bug report, called a ''ticket'', to [http://trac.wordpress.org/ Trac], the WordPress bug tracking system.? See? [[WordPress:#Reporting a Bug|Reporting a Bug (below)]]. | |||
# 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)]]. | |||
# 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)]]. | |||
# 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)]]. | |||
# 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. | |||
# 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)]]. | |||
# 用戶發(fā)現(xiàn)了錯(cuò)誤,出現(xiàn)在WordPress核心文件中 (不在主題或者插件中). | # 用戶發(fā)現(xiàn)了錯(cuò)誤,出現(xiàn)在WordPress核心文件中 (不在主題或者插件中). | ||
# 用戶嘗試著確認(rèn)這確實(shí)是一個(gè)錯(cuò)誤。參見(jiàn) [[ | # 用戶嘗試著確認(rèn)這確實(shí)是一個(gè)錯(cuò)誤。參見(jiàn) [[WordPress:#Before You Report a Bug|提交錯(cuò)誤之前(下面)]]. | ||
# | # 如果確定它是一個(gè)錯(cuò)誤,用途提交錯(cuò)誤報(bào)告到[http://trac.wordpress.org/ Trac],叫做''ticket'',WordPress錯(cuò)誤跟蹤系統(tǒng)。參見(jiàn)[[WordPress:#Reporting a Bug|提交錯(cuò)誤 (下面)]]. ? | ||
# WordPress 開(kāi)發(fā)人員 (可能也是象你一樣的志愿者) 確認(rèn)錯(cuò)誤的確存在,然后它應(yīng)該被修正。然后象在票上做記號(hào)那樣標(biāo)記出來(lái)。參見(jiàn)[[ | # 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ò)誤解決方案(下面)]]. | ||
# 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 開(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ù) (下面)]]. | ||
# WordPress開(kāi)發(fā)小組成員(包括志愿者)測(cè)試補(bǔ)丁,查看是否錯(cuò)誤被修復(fù)了而沒(méi)有影響到其他東西。它們添加評(píng)論和關(guān)鍵詞到ticket,顯示出它們的結(jié)果。參見(jiàn) [[ | # WordPress開(kāi)發(fā)小組成員(包括志愿者)測(cè)試補(bǔ)丁,查看是否錯(cuò)誤被修復(fù)了而沒(méi)有影響到其他東西。它們添加評(píng)論和關(guān)鍵詞到ticket,顯示出它們的結(jié)果。參見(jiàn) [[WordPress:#Trac Keywords|Trac 關(guān)鍵詞列表(下面)]]. | ||
# 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ì)這樣做的。 | # 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ì)這樣做的。 | ||
# 最后,提交補(bǔ)丁的這個(gè)人設(shè)定ticket狀態(tài)為''closed'',結(jié)論是''fixed''。參見(jiàn) [[ | # 最后,提交補(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)容== | ==錯(cuò)誤報(bào)告和解決方案的詳細(xì)內(nèi)容== | ||
下面的部分給上述的提綱添加了詳細(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ò)誤之前 === | === 報(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)按照下面的步驟。 | 如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)按照下面的步驟。 | ||
# Search for your bug or feature request in Trac by using [http://trac.wordpress.org/search Search] or a [http://trac.wordpress.org/query 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. | |||
# 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 [http://wordpress.org/support/ WordPress Support Forum], discuss your issue on the [[WordPress:WordPress IRC Live Help|#wordpress IRC channel]], or have an email discussion on the [[WordPress:Mailing Lists#Testers|Testers]] or [[WordPress:Mailing Lists#hackers|Hackers]] mailing list. | |||
# 在Trac中通過(guò)使用[http://trac.wordpress.org/search 搜索]或者是[http://trac.wordpress.org/query 查詢]來(lái)查找你的錯(cuò)誤或者是功能請(qǐng)求。 | # 在Trac中通過(guò)使用[http://trac.wordpress.org/search 搜索]或者是[http://trac.wordpress.org/query 查詢]來(lái)查找你的錯(cuò)誤或者是功能請(qǐng)求。 | ||
第44行: | 第88行: | ||
#* 如果你的問(wèn)題最近提交了也關(guān)閉了,但是你不同意這樣的解決方法,你可以重新打開(kāi)ticket添加注釋?zhuān)瑢?xiě)明你的理由。 | #* 如果你的問(wèn)題最近提交了也關(guān)閉了,但是你不同意這樣的解決方法,你可以重新打開(kāi)ticket添加注釋?zhuān)瑢?xiě)明你的理由。 | ||
# 想在Trac上在提交之前討論一個(gè)錯(cuò)誤, (如判斷它是否是一個(gè)WordPress核心的而不是插件或者主題的錯(cuò)誤),你可以在[http://wordpress.org/support/ WordPress 支持論壇]上發(fā)個(gè)帖子,在[[WordPress:WordPress IRC Live Help|#wordpress IRC 頻道]] 討論你的問(wèn)題,或者在[[WordPress:Mailing Lists#Testers|檢測(cè)器]] 或[[WordPress:Mailing Lists#hackers|Hackers]]郵件列表上參與郵件討論。 | # 想在Trac上在提交之前討論一個(gè)錯(cuò)誤, (如判斷它是否是一個(gè)WordPress核心的而不是插件或者主題的錯(cuò)誤),你可以在[http://wordpress.org/support/ WordPress 支持論壇]上發(fā)個(gè)帖子,在[[WordPress:WordPress IRC Live Help|#wordpress IRC 頻道]] 討論你的問(wèn)題,或者在[[WordPress:Mailing Lists#Testers|檢測(cè)器]] 或[[WordPress:Mailing Lists#hackers|Hackers]]郵件列表上參與郵件討論。 | ||
=== Reporting a Bug === | |||
[http://trac.wordpress.org/ Trac] is the name of the official WordPress bug tracker. It uses the open source bug tracking software [http://projects.edgewall.com/trac/ Trac] which is a product from [http://www.edgewall.com/ Edgewall Software]. Follow these steps to create a good bug report in Trac: | |||
=== 提交錯(cuò)誤 === | === 提交錯(cuò)誤 === | ||
[http://trac.wordpress.org/ Trac]是官方WordPress錯(cuò)誤跟蹤器的名字。它使用開(kāi)發(fā)源碼跟蹤軟件[http://projects.edgewall.com/trac/ Trac],它是 [http://www.edgewall.com/ Edgewall Software]的產(chǎn)品。安裝下面的步驟在Trac建立一個(gè)好的錯(cuò)誤報(bào)告: | [http://trac.wordpress.org/ Trac]是官方WordPress錯(cuò)誤跟蹤器的名字。它使用開(kāi)發(fā)源碼跟蹤軟件[http://projects.edgewall.com/trac/ Trac],它是 [http://www.edgewall.com/ Edgewall Software]的產(chǎn)品。安裝下面的步驟在Trac建立一個(gè)好的錯(cuò)誤報(bào)告: | ||
# 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. | |||
# Read this article on [http://www.chiark.greenend.org.uk/~sgtatham/bugs.html How to Report Bugs Effectively], and the [http://trac.wordpress.org/wiki/TracTickets Trac Ticket documentation]. | |||
# Log into [http://trac.wordpress.org/ WordPress Trac] using your [http://wordpress.org/support/ support forum] username and password. If you don't have an account at the support forums, [http://wordpress.org/support/register.php 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). | |||
# Click '''[http://trac.wordpress.org/newticket New Ticket]''' in Trac to reach the bug reporting page. | |||
# 閱讀 [[WordPress:#Before You Report a Bug|提交錯(cuò)誤之前(上面)]], 然后驗(yàn)證你有一個(gè)新的可以提交的錯(cuò)誤。 | # 閱讀 [[WordPress:#Before You Report a Bug|提交錯(cuò)誤之前(上面)]], 然后驗(yàn)證你有一個(gè)新的可以提交的錯(cuò)誤。 | ||
# 閱讀[http://www.chiark.greenend.org.uk/~sgtatham/bugs.html 如何有效的提交錯(cuò)誤]這個(gè)文章,和[http://trac.wordpress.org/wiki/TracTickets Trac Ticket 文檔]. | # 閱讀[http://www.chiark.greenend.org.uk/~sgtatham/bugs.html 如何有效的提交錯(cuò)誤]這個(gè)文章,和[http://trac.wordpress.org/wiki/TracTickets Trac Ticket 文檔]. | ||
#使用你的 using your [http://wordpress.org/support/ 支持論壇]的用戶名和密碼登陸[http://trac.wordpress.org/ WordPress Trac]。如果你沒(méi)有帳戶, [http://wordpress.org/support/register.php 注冊(cè)] 一個(gè)這樣才可以登陸Trac。這隊(duì)伍你錯(cuò)誤的交流是必需的。因?yàn)殚_(kāi)發(fā)人員可能需要更多的信息(而你不能創(chuàng)建ticket 如果不登陸的話). | #使用你的 using your [http://wordpress.org/support/ 支持論壇]的用戶名和密碼登陸[http://trac.wordpress.org/ WordPress Trac]。如果你沒(méi)有帳戶, [http://wordpress.org/support/register.php 注冊(cè)] 一個(gè)這樣才可以登陸Trac。這隊(duì)伍你錯(cuò)誤的交流是必需的。因?yàn)殚_(kāi)發(fā)人員可能需要更多的信息(而你不能創(chuàng)建ticket 如果不登陸的話). | ||
? 在新的ticket頁(yè)面上填寫(xiě)如下信息: | # 點(diǎn)擊Trac中 '''[http://trac.wordpress.org/newticket New Ticket]''' 打開(kāi)錯(cuò)誤提交頁(yè)面。 | ||
# 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. | |||
# Click '''Submit Ticket''' (after previewing it). Then pat yourself on the back. | |||
? | |||
# 在新的ticket頁(yè)面上填寫(xiě)如下信息: | |||
#; 簡(jiǎn)單摘要: 讓摘要簡(jiǎn)短但是要包含信息并且準(zhǔn)確,因?yàn)檫@是ticket的標(biāo)題,將會(huì)顯示在搜索結(jié)果中。 | #; 簡(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ò)誤的可能性就越大。 | #; 完整的描述: 填寫(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ò)誤的可能性就越大。 | ||
第64行: | 第133行: | ||
#:; 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信息的目的。 | #:; 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信息的目的。 | ||
# 點(diǎn)擊 '''提交Ticket''' (預(yù)覽之后). 然后返回。 | # 點(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: | |||
* Look through the [http://trac.wordpress.org/report/13 Needs Patch Report on Trac] (which lists bugs that have not been marked with the "has_patch" keyword), the [http://trac.wordpress.org/report/18 Lacks Attachment Report on Trac] (which lists bugs that do not have a patch file attached), or other [http://trac.wordpress.org/report Trac reports] for bugs that look interesting. | |||
* Send an email message to the [[WordPress:Mailing_Lists#Hackers|wp-hackers mailing list]] and ask how you can help. | |||
* There is also sometimes bug triage on the <tt>#wordpress-dev</tt> [[WordPress:IRC]] channel | |||
* Occasionally there are bug days on <tt>#wordpress-bugs</tt>. You can read about what happens in a bug day in [[WordPress:WordPress Bug Hunts]], and subscribe to either the [[WordPress:Mailing_Lists#Hackers|wp-hackers]] or [[WordPress:Mailing_Lists#Testers|wp-testers]] mailing list to find out when they happen. | |||
* Consider joining the [http://lists.automattic.com/mailman/listinfo/wp-trac wp-trac email list] to follow the discussions about each [http://trac.wordpress.org/report Trac Ticket]. | |||
=== 找到錯(cuò)誤修正 === | === 找到錯(cuò)誤修正 === | ||
第74行: | 第152行: | ||
* 考慮加入[http://lists.automattic.com/mailman/listinfo/wp-trac wp-trac 郵件列表] 來(lái)參與關(guān)于每個(gè)[http://trac.wordpress.org/report Trac Ticket]的討論。 | * 考慮加入[http://lists.automattic.com/mailman/listinfo/wp-trac wp-trac 郵件列表] 來(lái)參與關(guān)于每個(gè)[http://trac.wordpress.org/report Trac Ticket]的討論。 | ||
=== Patching Bugs === | |||
If you and are familiar with [[WordPress:Glossary#PHP|PHP]] and [[WordPress:Glossary#MySQL|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: | |||
#Read [[WordPress:#Finding Bugs to Fix|Finding Bugs to Fix (above)]], and find a bug to fix in [http://trac.wordpress.org Trac]. | |||
#Connect to the [http://wordpress.org/download/svn/ WordPress Subversion (SVN) Repository] using the username and password you acquired when [http://wordpress.org/support/register.php registering]. Read [[WordPress:Using Subversion]] if you are unfamiliar with SVN.? All patches should be submitted against the latest code in the SVN repository. | |||
# Figure out how to fix the bug, by modifying WordPress core files. You may want to discuss your proposed solution on the [[WordPress:Mailing_Lists#Hackers|wp-hackers mailing list]] before finalizing it. | |||
# Test your fix, verifying that the bug has been fixed, and that nothing else in WordPress is broken in the process. | |||
# 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 [http://asymptomatic.net/2005/12/03/586/how-to-patch-wordpress How to Patch WordPress by Owen Winkler] for detailed instructions. There are also instructions for Linux/Mac command-line users in [http://markjaquith.wordpress.com/2005/11/02/my-wordpress-toolbox/ Mark Jaquith's Toolbox] and Windows Tortoise SVN users in [http://blog.ftwr.co.uk/archives/2005/11/03/windows-wordpress-toolbox/ Westi's Blog]. | |||
# Upload it to the ticket using the [http://trac.wordpress.org/ 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ǔ)丁 === | === 打補(bǔ)丁 === | ||
第79行: | 第167行: | ||
如果你熟悉[[WordPress:Glossary#PHP|PHP]]和 [[WordPress:Glossary#MySQL|MySQL]],并且想幫助WordPress發(fā)展,那么我們鼓勵(lì)你為WordPress 的錯(cuò)誤打上補(bǔ)丁。如下是打補(bǔ)丁的步驟: | 如果你熟悉[[WordPress:Glossary#PHP|PHP]]和 [[WordPress:Glossary#MySQL|MySQL]],并且想幫助WordPress發(fā)展,那么我們鼓勵(lì)你為WordPress 的錯(cuò)誤打上補(bǔ)丁。如下是打補(bǔ)丁的步驟: | ||
#閱讀 [[ | #閱讀 [[WordPress:#Finding Bugs to Fix|找到錯(cuò)誤修正(上面)]], 然后在[http://trac.wordpress.org Trac]中找到錯(cuò)誤并修正 | ||
#使用你[http://wordpress.org/support/register.php 注冊(cè)]的用戶名和密碼連接到[http://wordpress.org/download/svn/ WordPress Subversion (SVN) Repository],閱讀 [[WordPress:Using Subversion|使用子版本]],如果你對(duì)SVN不熟悉的話。所有的補(bǔ)丁都會(huì)被提交的SVN,而不考慮最新的代碼。 | #使用你[http://wordpress.org/support/register.php 注冊(cè)]的用戶名和密碼連接到[http://wordpress.org/download/svn/ WordPress Subversion (SVN) Repository],閱讀 [[WordPress:Using Subversion|使用子版本]],如果你對(duì)SVN不熟悉的話。所有的補(bǔ)丁都會(huì)被提交的SVN,而不考慮最新的代碼。 | ||
# 找出如何通過(guò)修改WordPress核心文件修正錯(cuò)誤。你可能想在結(jié)束之前在[[WordPress:Mailing_Lists#Hackers|wp-hackers 郵件列表]]上討論你的解決方案。 | # 找出如何通過(guò)修改WordPress核心文件修正錯(cuò)誤。你可能想在結(jié)束之前在[[WordPress:Mailing_Lists#Hackers|wp-hackers 郵件列表]]上討論你的解決方案。 | ||
# 測(cè)試你的修改,驗(yàn)證錯(cuò)誤已經(jīng)被修正,而且在此過(guò)程中沒(méi)有其他的WordPress內(nèi)的東西被破壞。 | # 測(cè)試你的修改,驗(yàn)證錯(cuò)誤已經(jīng)被修正,而且在此過(guò)程中沒(méi)有其他的WordPress內(nèi)的東西被破壞。 | ||
# 創(chuàng)建一個(gè)包含你的修改的''補(bǔ)丁文件''。這完全與修正文件和SVN中的源文件''不同''。參見(jiàn)[http://asymptomatic.net/2005/12/03/586/how-to-patch-wordpress 如何為WordPress打補(bǔ)丁 by Owen Winkler]獲得詳細(xì)說(shuō)明。有Linux/Mac 的說(shuō)明,[http://markjaquith.wordpress.com/2005/11/02/my-wordpress-toolbox/ Mark Jaquith 的工具書(shū)]中的命令行使用者,和[http://blog.ftwr.co.uk/archives/2005/11/03/windows-wordpress-toolbox/ Westi的Blog]中Windows Tortoise SVN 的使用者. | # 創(chuàng)建一個(gè)包含你的修改的''補(bǔ)丁文件''。這完全與修正文件和SVN中的源文件''不同''。參見(jiàn)[http://asymptomatic.net/2005/12/03/586/how-to-patch-wordpress 如何為WordPress打補(bǔ)丁 by Owen Winkler]獲得詳細(xì)說(shuō)明。有Linux/Mac 的說(shuō)明,[http://markjaquith.wordpress.com/2005/11/02/my-wordpress-toolbox/ Mark Jaquith 的工具書(shū)]中的命令行使用者,和[http://blog.ftwr.co.uk/archives/2005/11/03/windows-wordpress-toolbox/ Westi的Blog]中Windows Tortoise SVN 的使用者. | ||
# 使用[http://trac.wordpress.org/ Trac]的 ''Attach file'' 按鈕上傳到ticket,添加 ''has-patch''到關(guān)鍵詞中。如果補(bǔ)丁需要測(cè)試,你可以把''needs-testing''也添加上,或者其他的Trac 關(guān)鍵詞; 參見(jiàn) [[ | # 使用[http://trac.wordpress.org/ Trac]的 ''Attach 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 [http://trac.wordpress.org Trac] that are commonly used; some are also searched for by [http://trac.wordpress.org/report 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)鍵詞 === | === Trac 關(guān)鍵詞 === | ||
第109行: | 第222行: | ||
;needs-doc : 需要代碼的內(nèi)嵌文檔。這可以是在它們被提交之前保存ticket單獨(dú)文件或者是帶有新函數(shù)補(bǔ)丁需要的文檔資料。 ? | ;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ò)誤解決方案=== | === 錯(cuò)誤解決方案=== | ||
第122行: | 第247行: | ||
請(qǐng)驗(yàn)證你的錯(cuò)誤在提交時(shí)不屬于其中任何一種。 | 請(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! | |||
== 注 == | == 注 == | ||
第128行: | 第258行: | ||
* 如果你的問(wèn)題被解決為"Not a bug" 或者 "Won't fix"時(shí)不要生氣,看起來(lái)對(duì)你是錯(cuò)誤的東西很可能是一種"功能". 這些解決方法只是意味這"現(xiàn)在不能解決", 可能將來(lái)會(huì)被解決的. | * 如果你的問(wèn)題被解決為"Not a bug" 或者 "Won't fix"時(shí)不要生氣,看起來(lái)對(duì)你是錯(cuò)誤的東西很可能是一種"功能". 這些解決方法只是意味這"現(xiàn)在不能解決", 可能將來(lái)會(huì)被解決的. | ||
* 感謝為WordPress做出的貢獻(xiàn)! | * 感謝為WordPress做出的貢獻(xiàn)! | ||
請(qǐng)注意,您對(duì)站長(zhǎng)百科的所有貢獻(xiàn)都可能被其他貢獻(xiàn)者編輯,修改或刪除。如果您不希望您的文字被任意修改和再散布,請(qǐng)不要提交。
您同時(shí)也要向我們保證您所提交的內(nèi)容是您自己所作,或得自一個(gè)不受版權(quán)保護(hù)或相似自由的來(lái)源(參閱Wordpress-mediawiki:版權(quán)的細(xì)節(jié))。 未經(jīng)許可,請(qǐng)勿提交受版權(quán)保護(hù)的作品!
您同時(shí)也要向我們保證您所提交的內(nèi)容是您自己所作,或得自一個(gè)不受版權(quán)保護(hù)或相似自由的來(lái)源(參閱Wordpress-mediawiki:版權(quán)的細(xì)節(jié))。 未經(jīng)許可,請(qǐng)勿提交受版權(quán)保護(hù)的作品!
編輯幫助(在新窗口中打開(kāi))
本頁(yè)使用的模板:
- 模板:WordPress導(dǎo)航(查看源代碼)(受保護(hù))