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

WordPress:Inline Documentation

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

This page is the start of the effort to add inline documentation to the WordPress core code to aid in future development, improvements and changes, as well as to assist others when learning about PHP and WordPress.

本頁面是添加內(nèi)嵌文檔到WordPress核心代碼來幫助將來的發(fā)展,改進(jìn)和更新的起點(diǎn),同樣也是在學(xué)習(xí)PHP 和 WordPress時(shí)幫助別人。

Use of this page and subsequent child pages is meant for developing standard methodologies and formats, as well as to ensure that there is no duplication of effort. In the best case, inline documentation should appear as close to this PEAR sample.

本頁面以及后來的子頁面意味這開發(fā)標(biāo)準(zhǔn)方法和格式,也是為了保證沒有副作用。在最好的情況下,內(nèi)嵌文檔應(yīng)該出現(xiàn)在靠近這個(gè)PEAR 樣本的地方。

What Should be Documented

Documenting globals gives information for phpDocumentor and others reading the source code on how the global is used. It isn't required and in most cases not necessary, since the core developers may not accept the patches.

什么應(yīng)該備有資料文獻(xiàn)

備份phpDocumentor的資料文獻(xiàn),和其他關(guān)于global如何使用的閱讀源代碼。它不是必需的,而且在大多數(shù)時(shí)候都不是必需的,因?yàn)楹诵拈_發(fā)人員可能不能接受這個(gè)補(bǔ)丁。

Functions and class methods are often difficult to be used without context. Documentation can offer context, but inline documentation should not be used for giving extreme examples, except for small lines of code where codex information is not immediately available.

函數(shù)和類方法在沒有上下文環(huán)境的時(shí)候很難使用。文件可以提供上下文,但是內(nèi)嵌文檔不應(yīng)該用來給出極端的例子,除非在codex 信息不能立即獲得的小行代碼中。

Most of the classes used in WordPress are Singletons (the entire functionality is contained in a single class), but often require initializing of properties manually. Often the question of when to use a method in a class is not clear in most situations.

多數(shù)WordPress中使用的類都是單獨(dú)的(全部的功能包含在一個(gè)單獨(dú)的類中), 但是通常要求手動(dòng)初始化屬性。大多數(shù)情況下什么時(shí)候在類中使用方法是不清楚的。

Newer class additions and some external libraries use multiple classes to form a library for functionality. This creates a higher learning curve as the base class (the class the developer uses that provides the functionality from all of the rest of the classes) is not clear. Adding documentation on where the class falls in the class library hierarchy provides more clarity.

The properties of classes need to be documented for class documentation completeness. The PHPdoc tags for those can be found at the main site and an example can be found below.

新的附加類和一些外部的庫使用多種類來組成有某種功能的庫。這創(chuàng)建了一個(gè)更高的學(xué)習(xí)曲線,因?yàn)榛?開發(fā)者用來提供從所有其他類獲得其功能的類) 不清楚。給類所在的類庫層次中添加文檔會(huì)提供更高的清晰度。

為了類資料的完整性,類的屬性需要備有資料文獻(xiàn)。用于這功能的PHPdoc 標(biāo)簽可以在主頁找到,例子可以在下面找到。

PHPdoc Tags

PHPDoc tags work with some editors to display more information about a piece of code. It is useful to developers using those editors to understand what the purpose and where they would use it in their code.

PHPdoc標(biāo)簽

PHPDoc 標(biāo)簽和一些編輯器一起顯示更多有關(guān)于一段代碼的信息。對(duì)開發(fā)者使用那些編輯器來了解目標(biāo)是什么以及在他們的代碼中能在什么地方使用是很有用的。

The convention for allow PHPdoc blocks is to have @since information (even if not available at the time) and @package information, which should always be "WordPress" unless it is an external library.

/**
 * ... Description(s) here
 *
 * @package WordPress
 * @since 2.1 or {{@internal Unknown}}}
 *
 * ... More information if needed.
 */

允許PHPdoc 模塊的慣例是含有@since 信息(盡管目前不可用)和@package信息, 必須是"WordPress",除非是一個(gè)外部庫。

/**
 * ... Description(s) here
 *
 * @package WordPress
 * @since 2.1 or {{@internal Unknown}}}
 *
 * ... More information if needed.
 */

You will not use PHPdoc comment blocks inside function and method blocks, except to document "TODO" information. All other comments inside methods and functions should not use PHPdoc comments.

/**
 * @todo ... Description
 */

Or the second form can be used is most cases.

/** @todo ... Description */

在函數(shù)和方法模塊內(nèi)不能使用PHPdoc注釋模塊,除非提供 "TODO" 信息。 所有其他的方法和函數(shù)內(nèi)不能使用PHPdoc注釋。

/**
 * @todo ... Description
 */

Or the second form can be used is most cases.

/** @todo ... Description */

Mapping Includes and Requires

Documenting includes and requires can be useful to explain what relationship the included file has to the current file and why it is needed and what can be found in it.

Not necessary for WordPress core files, but might be useful for your own plugins, if you split the code into logical files.

/** 
 * This file holds all of the users
 * custom information
 */
require ABSPATH.'/wp-config.php';

映射Includes 和Requires

為includes和requires準(zhǔn)備資料文獻(xiàn),對(duì)于解釋包括的文件和現(xiàn)有的文件有什么關(guān)系,以及為什么需要它和在它里面能找到些什么是很有用的。

對(duì)于WordPress核心文件來說并不是必需的,但是如果你吧代碼分成邏輯文件的話,可能對(duì)你的插件很有用。

/** 
 * This file holds all of the users
 * custom information
 */
require ABSPATH.'/wp-config.php';

File Documentation

File documentation using PHPdoc comment blocks can be used to give an overview on what the file holds and what can be found in the file. Used to its full advantage may prevent someone from exploring the file too deeply and wasting their time.

Some PHPdoc tags can be applied globally to every other PHPdoc comment block for phpDocumentor sites.

/**
 * ... Description of what is contained in file here
 *
 * @package WordPress
 */

文件資料

文件資料使用PHPdoc注釋模塊,可以用來給出一個(gè)關(guān)于在文件中有什么內(nèi)容和能找到什么東西的總覽。充分使用它的優(yōu)點(diǎn)可以阻止過于深入的查看文件和防止浪費(fèi)時(shí)間。

一些PHPdoc標(biāo)簽可以為phpDocumentor站點(diǎn)全局應(yīng)用到其他每一個(gè)PHPdoc 注釋模塊中。

/**
 * ... Description of what is contained in file here
 *
 * @package WordPress
 */

Global PHPdoc Comment Block

Often it is useful to document globals that are commonly used for the function @uses reference.

It is better to have the description first as it is what the coder needs. The rest of the information might be important, @since for example, but @global tag is only useful for phpDocumentator sites.

/**
 * ... Description 
 * @since
 * @global    type    $varname
 */

全局PHPdoc注釋模塊

它對(duì)于準(zhǔn)備一般用于函數(shù)@uses參數(shù)的全局資料通常是有用的。

先得到描述信息,因?yàn)槟鞘蔷幋a器所需要的。其他的信息也許也重要, 用@since舉例,@ global標(biāo)簽只對(duì)phpDocumentator站點(diǎn)有用。

/**
 * ... Description 
 * @since
 * @global    type    $varname
 */


Function PHPdoc

The convention for WordPress function PHPdoc types includes the short description and long description (if applicable).

The short description must include the function name with only the parenthesize '()'. The short description should not restate what the function name is, but look deeper in to what the function does (the code) and summarize that. The function name might say one thing, but actually do something completely different (the specs changed, but the usage did not).

函數(shù) PHPdoc

WordPress 函數(shù) PHPdoc類型包括短描述和長(zhǎng)描述(如果適用的話).

短描述必須包括只帶括號(hào)'()'的函數(shù)名字。短描述不應(yīng)該重復(fù)說名函數(shù)名是什么,而應(yīng)該深入一些描述這個(gè)函數(shù)是做什么的(代碼)并作總結(jié)。函數(shù)名字可能表達(dá)了什么,但事實(shí)上做的卻是完全不同的東西(規(guī)格改變了但是用法沒有變)。

The short description is required for the documentation of the function to be considered complete. A note may be left in certain circumstances, see below, that lets others know that the short description is missing.

/**
 * function_name() - Short Description

短描述要求完全考慮到這個(gè)函數(shù)的文獻(xiàn)資料。在特殊情況下可能會(huì)留下記錄,如下,讓人知道短描述丟失了。

/**
 * function_name() - Short Description

Long descriptions should be included in most functions to give clarity to what the short description means. In most cases, the summary should only serve as a reminder to what the coder read in the long description.

In rare cases, the function is so short that the summary can be used to describe the full extent of the function's purpose. It is up to the documentation author's judgment, but as a rule always try to include the long descriptions in the PHPdoc block.

/**
 * function_name() - Short Description
 * 
 * Long Description
 *
 */

長(zhǎng)描述應(yīng)該包含在大多數(shù)的函數(shù)中,來清楚地給出短描述包含的意思。大多數(shù)情況下,摘要只是作為在長(zhǎng)描述中編碼器讀取的提示。

極少情況下,函數(shù)非常的短,摘要就可以描述全部的函數(shù)目的范圍了。這取決于文獻(xiàn)資料作者的判斷,但是作為一個(gè)規(guī)則,應(yīng)該嘗試吧長(zhǎng)描述包括到PHPdoc 模塊中去。

/**
 * function_name() - Short Description
 * 
 * Long Description
 *
 */

It is acceptable if the function does not have parameter or return documentation to leave a note that the short and long descriptions are missing. This should only be used when you are writing documentation for a multiple functions are only leaving a note that you intentionally left that area blank for someone else or for yourself to complete later.

/**
 * function_name() - {{@internal Missing Short Description}}}
 *
 * {{@internal Missing Long Description}}}
 *
 */

如果函數(shù)沒有參數(shù),或者返回資料留下短和長(zhǎng)描述丟失的記錄,這是可以接受的。這只能在你為一個(gè)多重函數(shù)寫資料時(shí),留下一個(gè)你專門為別人或者你自己留下空白以便將來完成的記錄時(shí),才可以使用。

/**
 * function_name() - {{@internal Missing Short Description}}}
 *
 * {{@internal Missing Long Description}}}
 *
 */

For other tags to remind yourself or others that you did not mean for the tag to be blank in that area. Other times, it should be assumed that if someone left something blank, that they meant to do so, or didn't think the description was required for others to understand the function. The information might not serve any purpose if it is available elsewhere. For example in the @uses tag for globals, if the global variable was already documented.

 * @uses function_name() {{@internal Missing Description}}}

After the short and long description, other information is important to the coder and phpDocumentor sites.

/**
 * function_name() - Short Description
 * 
 * Long Description
 *
 * @package WordPress
 * @since version
 *
 * @param    type    $varname    Description
 * @return   type                Description
 */

對(duì)于其他提醒你或者你本不想留下空白的標(biāo)簽。其他時(shí)候,它應(yīng)該被認(rèn)為是有人故意留下空白,或者是不認(rèn)為描述對(duì)于別人理解函數(shù)是必須的。信息可能并不服務(wù)于某種目的,如果在別的地方也可以找到的話。如,在使用@uses標(biāo)簽時(shí),如果全局變量已經(jīng)擁有資料時(shí)。

 * @uses function_name() {{@internal Missing Description}}}

在短和長(zhǎng)描述后,別的信息對(duì)于編碼器和phpDocumentor 站點(diǎn)也是很重要的。

/**
 * function_name() - Short Description
 * 
 * Long Description
 *
 * @package WordPress
 * @since version
 *
 * @param    type    $varname    Description
 * @return   type                Description
 */

The convention for @since is to use just the version number, "2.1", or "2.3.1" and leave off any other strings. The @package information gives coders and phpDocumentor which application the function and therefore the @since application the version number belongs to.

@since的慣例是只使用版本號(hào),"2.1",或者"2.3.1",并且停止其他的字符串。 @package 信息給出了編碼器和請(qǐng)求函數(shù)用的phpDocumentor,這樣@since 就會(huì)請(qǐng)求屬于它的版本號(hào)。

For consistency, if parameters are available, they must always be documented for every function. If the "return" keyword is used anywhere in the function, then the @return tag should be used to document that possible case. If it does not exist, then it is best to not include the tag, because if it exists, the reader might expect it to have the "return" keyword.

為了保持一致,如果參數(shù)可用,它們必須為每個(gè)函數(shù)建立資料文獻(xiàn)。如果"return" 關(guān)鍵詞在函數(shù)中的任何地方使用,那么@return標(biāo)簽應(yīng)該被用來建立可能的資料。 如果它不存在的話,最好就不要包含這個(gè)標(biāo)簽,因?yàn)槿绻嬖?,讀者可能希望它能有 "return" 這個(gè)關(guān)鍵詞。

If the function is deprecated, should not be used any longer, then the @deprecated tag along with the version and description of what to use instead should be given. Also include the @uses tag with the function name.

/**
 * ... Descriptions
 *
 * @deprecated 2.1  Use function_name() instead.
 * @uses function_name()
 *
 * ... parameters and return descriptions
 */

如果函數(shù)被反對(duì),就不應(yīng)該繼續(xù)使用了,然后會(huì)給出@deprecated 標(biāo)簽連同辦不辦和使用哪些作為替代的描述。同樣包括帶有函數(shù)名字的@uses標(biāo)簽。

/**
 * ... Descriptions
 *
 * @deprecated 2.1  Use function_name() instead.
 * @uses function_name()
 *
 * ... parameters and return descriptions
 */

Class PHPdoc tags

The information on class PHPdoc tags to use in WordPress classes is intentionally left out. One note is that the class definition, the class properties (variables), and class methods (functions) all need to have documentation to be complete.

The PEAR sample should be referenced for the tags to use for each.

類PHPdoc 標(biāo)簽

關(guān)于類PHPdoc標(biāo)簽的在WordPress類中使用的信息是故意刪除的。注意類的定義,屬性(變量),和類方法(函數(shù))都需要建立文獻(xiàn)資料。

PEAR 樣本應(yīng)該用來作為這些標(biāo)簽的使用的參考。

Past WP-Hackers Discussions

The WP-Hackers list has a number of past discussions on adding inline documentation. In recent cases, this page was not referenced or found during the discussion. By documenting WordPress files, the discussions on WP-Hackers and elsewhere can be brought to a close if enough effort is put forth to do the work to document the files.

過去的 WP-Hackers 討論

WP-Hackers列表有大量過去的關(guān)于添加內(nèi)嵌文檔的討論。在最近的一些案例中,這個(gè)頁面無法在討論中引用或者被發(fā)現(xiàn)。通過給WordPress文件建立資料,關(guān)于WP-Hackers和別的東西的討論可以結(jié)束了,如果足夠的努力放到給這些文件建立檔案文獻(xiàn)的話。

Resources

資源

Files with Inline Documentation

For a list of current files in WordPress, see WordPress:WordPress Files.

擁有內(nèi)嵌文檔的文件

想得到一個(gè)WordPress中現(xiàn)有文件的列表,參見WordPress:WordPress 文件.

External Library Files

Third party libraries should have file level documentation, but should not be part of the WordPress documentation effort. The following third party files have file level documentation. Below is the list of external files in WordPress 2.5 (1/10/2008).

外部庫文件

第三方的庫應(yīng)該有文件級(jí)別的資料,但是不應(yīng)該成為WordPress文檔資料的一部分。 下面這些第三方文件都擁有文件級(jí)別的資料。下面是WordPress 2.5 中的外部文件列表(1/10/2008).

All external library files are completed

  • /wp-includes/atomlib.php
  • /wp-includes/class-IXR.php
  • /wp-includes/class-phpass.php
  • /wp-includes/class-phpmailer.php (does not need file level documentation because it has class level documentation)
  • /wp-includes/class-pop3.php
  • /wp-includes/class-smtp.php (does not need file level documentation because it has class level documentation)
  • /wp-includes/class-snoopy.php
  • /wp-includes/gettext.php
  • /wp-includes/streams.php
  • /wp-includes/rss.php
  • /wp-includes/rss-functions.php (deprecated)

所有的外部庫文件都完成了

  • /wp-includes/atomlib.php
  • /wp-includes/class-IXR.php
  • /wp-includes/class-phpass.php
  • /wp-includes/class-phpmailer.php (不需要文件級(jí)別的資料,因?yàn)樗蓄惣?jí)別的資料)
  • /wp-includes/class-pop3.php
  • /wp-includes/class-smtp.php (不需要文件級(jí)別的資料,因?yàn)樗蓄惣?jí)別的資料)
  • /wp-includes/class-snoopy.php
  • /wp-includes/gettext.php
  • /wp-includes/streams.php
  • /wp-includes/rss.php
  • /wp-includes/rss-functions.php (deprecated)

WordPress Finished Files

These files have complete PHPdoc style documentation. Listed are the documentation writer, along with the WordPress Trac ticket number.

WordPress 完成的文件

這些文件已經(jīng)完成了PHPdoc 樣式資料。列出的部分是資料作者,連同 WordPress Trac ticket 號(hào)碼。


  1. #5211 - /wp-settings.php - Jacob Santos (Use as an example for other files)
  2. #4393 - /wp-includes/author-template.php - Robin Adrianse and cleanup by Jacob Santos
  3. #5523 - /wp-includes/bookmark.php - Jacob Santos
  4. #5521 - /wp-includes/bookmark-template.php - Jacob Santos
  5. #5511 - /wp-includes/cache.php - Jacob Santos
  6. #5526 - /wp-includes/canonical.php - Jacob Santos
  7. #5528 - /wp-includes/comment-template.php - Jacob Santos (help from Peter Walker #2648)
  8. #5510 - /wp-includes/compat.php - Jacob Santos
  9. #5527 - /wp-includes/default-filters.php - Jacob Santos
  10. #5527 - /wp-includes/feed-rss2-comments.php - Jacob Santos
  11. #5527 - /wp-includes/feed-rss2.php - Jacob Santos
  12. #5527 - /wp-includes/feed-rdf.php - Jacob Santos
  13. #5527 - /wp-includes/feed-atom-comments.php - Jacob Santos
  14. #5527 - /wp-includes/feed-rss.php - Jacob Santos
  15. #5527 - /wp-includes/feed-atom.php - Jacob Santos
  16. #5641 - /wp-includes/kses.php - Jacob Santos
  17. #5590 - /wp-includes/l10n.php - Jacob Santos
  18. #5621 - /wp-includes/locale.php - Jacob Santos
  19. #5509 - /wp-includes/pluggable.php - Updated by Jacob Santos based on Robert Deaton's patch from #2477
  20. #3852 - /wp-includes/plugin.php - Martin Sturm and cleanup by Jacob Santos (#5225)
  21. #4383 - /wp-includes/registration.php - Robin Adrianse and cleanup by Jacob Santos
  22. #5572 - /wp-includes/registration-functions.php - Jacob Santos
  23. #4742 - /wp-includes/taxonomy.php - Jacob Santos
  24. #5513 - /wp-includes/template-loader.php - Jacob Santos
  25. #5233 - /wp-includes/update.php - Jacob Santos
  26. #5572 - /wp-includes/vars.php - Jacob Santos
  27. #5572 - /wp-includes/version.php - Jacob Santos
  28. #2474 - /wp-includes/wpdb.php - Robert Deaton


  1. #5211 - /wp-settings.php - Jacob Santos (作為其他文件的示例使用)
  2. #4393 - /wp-includes/author-template.php - Robin Adrianse 和清除 by Jacob Santos
  3. #5523 - /wp-includes/bookmark.php - Jacob Santos
  4. #5521 - /wp-includes/bookmark-template.php - Jacob Santos
  5. #5511 - /wp-includes/cache.php - Jacob Santos
  6. #5526 - /wp-includes/canonical.php - Jacob Santos
  7. #5528 - /wp-includes/comment-template.php - Jacob Santos (help from Peter Walker #2648)
  8. #5510 - /wp-includes/compat.php - Jacob Santos
  9. #5527 - /wp-includes/default-filters.php - Jacob Santos
  10. #5527 - /wp-includes/feed-rss2-comments.php - Jacob Santos
  11. #5527 - /wp-includes/feed-rss2.php - Jacob Santos
  12. #5527 - /wp-includes/feed-rdf.php - Jacob Santos
  13. #5527 - /wp-includes/feed-atom-comments.php - Jacob Santos
  14. #5527 - /wp-includes/feed-rss.php - Jacob Santos
  15. #5527 - /wp-includes/feed-atom.php - Jacob Santos
  16. #5641 - /wp-includes/kses.php - Jacob Santos
  17. #5590 - /wp-includes/l10n.php - Jacob Santos
  18. #5621 - /wp-includes/locale.php - Jacob Santos
  19. #5509 - /wp-includes/pluggable.php – 由 Jacob Santos在Robert Deaton來自#2477的補(bǔ)丁的基礎(chǔ)上更新
  20. #3852 - /wp-includes/plugin.php - Martin Sturm 和清除 by Jacob Santos (#5225)
  21. #4383 - /wp-includes/registration.php - Robin Adrianse 和清除 by Jacob Santos
  22. #5572 - /wp-includes/registration-functions.php - Jacob Santos
  23. #4742 - /wp-includes/taxonomy.php - Jacob Santos
  24. #5513 - /wp-includes/template-loader.php - Jacob Santos
  25. #5233 - /wp-includes/update.php - Jacob Santos
  26. #5572 - /wp-includes/vars.php - Jacob Santos
  27. #5572 - /wp-includes/version.php - Jacob Santos
  28. #2474 - /wp-includes/wpdb.php - Robert Deaton

Incomplete Files

Every file should be labeled as a work in progress and if you want to adopt a file or function for documentation, then do so and add it to this list. These files however have already been started and could use some help with completion.

  1. #5632 - /wp-includes/capabilities.php - Started by Jacob Santos
  2. #5633 - /wp-includes/category.php - Started by Jacob Santos
  3. #5634 - /wp-includes/category-template.php - Started by Jacob Santos
  4. #5635 - /wp-includes/classes.php - Started by Jacob Santos
  5. #5637 - /wp-includes/cron.php - Started by Jacob Santos
  6. #5578 - /wp-includes/comment.php - Updated by Jacob Santos based on Peter Walker's patch from #2648
  7. #5636 - /wp-includes/feed.php - Started by Jacob Santos
  8. #5638 - /wp-includes/formatting.php - Started by Jacob Santos
  9. #5639 - /wp-includes/functions.php - Started by Jacob Santos
  10. #5640 - /wp-includes/general-template.php - Started by Jacob Santos
  11. #5642 - /wp-includes/link-template.php - Started by Jacob Santos
  12. #3982 - /wp-includes/post.php - Started by Scott Merrill, updated by Jacob Santos and based in part off of #2473.
  13. #0000 - /wp-includes/post-template.php - Started by You
  14. #0000 - /wp-includes/query.php - Started by You
  15. #0000 - /wp-includes/script-loader.php - Started by You
  16. #0000 - /wp-includes/theme.php - Started by You
  17. #5512 - /wp-includes/user.php - Started by Jacob Santos
  18. #0000 - /wp-includes/widgets.php - Started by You

This ticket is outdated because admin-functions.php is no longer used for functions and is deprecated in 2.5+. The documentation is still good for the functions that were moved to the wp-admin/includes/*.* folder.

  • #3970 - /wp-admin/admin-functions.php - Started by Sabin Iacob

未完成的文件

如果你想通過文件或者函數(shù)進(jìn)行資料編寫,那么每個(gè)文件都應(yīng)該有個(gè)標(biāo)簽,作為工作的一部分,做完這個(gè)之后再添加到列表中。這些文件已經(jīng)開始并且完成后可以使用一些幫助。

  1. #5632 - /wp-includes/capabilities.php – 由 Jacob Santos開始
  2. #5633 - /wp-includes/category.php -由 Jacob Santos開始
  3. #5634 - /wp-includes/category-template.php -由 Jacob Santos開始
  4. #5635 - /wp-includes/classes.php -由 Jacob Santos開始
  5. #5637 - /wp-includes/cron.php -由 Jacob Santos開始
  6. #5578 - /wp-includes/comment.php – 在Peter Walker的來自#2648的補(bǔ)丁的基礎(chǔ)上由Jacob Santos更新
  7. #5636 - /wp-includes/feed.php -由 Jacob Santos開始
  8. #5638 - /wp-includes/formatting.php -由 Jacob Santos開始
  9. #5639 - /wp-includes/functions.php -由 Jacob Santos開始
  10. #5640 - /wp-includes/general-template.php -由 Jacob Santos開始
  11. #5642 - /wp-includes/link-template.php -由 Jacob Santos開始
  12. #3982 - /wp-includes/post.php – 由Scott Merrill開始, Jacob Santos在#2473的部分基礎(chǔ)上更新
  13. #0000 - /wp-includes/post-template.php – 由你開始
  14. #0000 - /wp-includes/query.php - 由你開始
  15. #0000 - /wp-includes/script-loader.php -由你開始
  16. #0000 - /wp-includes/theme.php -由你開始
  17. #5512 - /wp-includes/user.php – 由Jacob Santos開始
  18. #0000 - /wp-includes/widgets.php -由你開始

這個(gè)票已經(jīng)過期因?yàn)閍dmin-functions.php 不再使用并且在2.5+版本失效了. 文獻(xiàn)資料對(duì)于轉(zhuǎn)移到wp-admin/includes/*.* 文件夾下的函數(shù)仍然好用

  • #3970 - /wp-admin/admin-functions.php – 由 Sabin Iacob開始