站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Reporting Bugs
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== 修补程序错误=== 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: 如果你熟悉[[WordPress:Glossary#PHP|PHP]] 和[[WordPress:Glossary#MySQL|MySQL]],并且希望在WordPress发展过程中,尽自己的一臂之力,你可以解决程序错误问题。下面是一些你可以遵循的步骤: #Read [[WordPress:#Finding Bugs to Fix|Finding Bugs to Fix (above)]], and find a bug to fix in [http://trac.wordpress.org Trac]. #请阅读[[WordPress:#Finding Bugs to Fix|查找修正程序错误 (上面的)]],查找程序错误,在[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. #连接到[http://wordpress.org/download/svn/ WordPress 子版本(SVN) 资源库],[http://wordpress.org/support/register.php 注册]时,使用你得到的用户名和密码。如果你不熟悉子版本,请阅读[[WordPress:Using Subversion|使用子版本]]。所有的补丁都必须根据子版本资源库中最新的代码,递交。 # 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. #了解怎样通过更改WordPress核心文件,解决程序错误问题。你可能希望在[[WordPress:Mailing_Lists#Hackers|wp-hackers 邮件列表]]上讨论你建议的解决办法,再最后决定使用这个方法。 # Test your fix, verifying that the bug has been fixed, and that nothing else in WordPress is broken in the process. #测试你的方法,确认程序错误已经得到了解决,而且在解决过程中,WordPress中的其它内容都没有受损。 # 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]. #创建一个(或者多个)包含解决方法的''补丁文件''。这基本上是固定文件的''diff'',而且是SVN的原始资料。请看看[http://asymptomatic.net/2005/12/03/586/how-to-patch-wordpress Owen Winkler的怎样修补WordPress]上面的详细指示。在[http://markjaquith.wordpress.com/2005/11/02/my-wordpress-toolbox/ Mark Jaquith's Toolbox]上也有对于Linux/Mac 命令行用户的指导和[http://blog.ftwr.co.uk/archives/2005/11/03/windows-wordpress-toolbox/ Westi的博客]上的Windows Tortoise SVN用户的指导。 # 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. #使用[http://trac.wordpress.org/ Trac] ''附加文件''按钮,将其上传到ticket上,并且将''has-patch''添加到关键词上。如果补丁需要测试,你可能需要加入''需要测试'',或者其它的某个Trac关键词;更多的信息,请看看[[WordPress:#Trac Keywords|Trac 关键词 (下面的)]]
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)