Make WordPress Core

Ticket #26713: 26713.2.diff

File 26713.2.diff, 52.6 KB (added by SergeyBiryukov, 10 years ago)
  • src/wp-activate.php

     
    2727/**
    2828 * Fires before the Site Activation page is loaded.
    2929 *
    30  * @since 3.0
     30 * @since 3.0.0
    3131 */
    3232do_action( 'activate_header' );
    3333
     
    4040    /**
    4141     * Fires before the Site Activation page is loaded, but on the wp_head action.
    4242     *
    43      * @since 3.0
     43     * @since 3.0.0
    4444     */
    4545    do_action( 'activate_wp_head' );
    4646}
  • src/wp-admin/custom-header.php

     
    177177        /**
    178178         * Set up the enqueue for the CSS files
    179179         *
    180          * @since 2.7
     180         * @since 2.7.0
    181181         */
    182182        function css_includes() {
    183183                $step = $this->step();
  • src/wp-admin/includes/ajax-actions.php

     
    259259 *
    260260 * Contrary to normal success AJAX response ("1"), die with time() on success.
    261261 *
    262  * @since 2.7
     262 * @since 2.7.0
    263263 *
    264264 * @param int $comment_id
    265265 * @return die
  • src/wp-admin/includes/class-wp-filesystem-direct.php

     
    99/**
    1010 * WordPress Filesystem Class for direct PHP file and folder manipulation.
    1111 *
    12  * @since 2.5
     12 * @since 2.5.0
    1313 * @package WordPress
    1414 * @subpackage Filesystem
    1515 * @uses WP_Filesystem_Base Extends class
  • src/wp-admin/includes/class-wp-filesystem-ftpext.php

     
    99/**
    1010 * WordPress Filesystem Class for implementing FTP.
    1111 *
    12  * @since 2.5
     12 * @since 2.5.0
    1313 * @package WordPress
    1414 * @subpackage Filesystem
    1515 * @uses WP_Filesystem_Base Extends class
  • src/wp-admin/includes/class-wp-filesystem-ftpsockets.php

     
    99/**
    1010 * WordPress Filesystem Class for implementing FTP Sockets.
    1111 *
    12  * @since 2.5
     12 * @since 2.5.0
    1313 * @package WordPress
    1414 * @subpackage Filesystem
    1515 * @uses WP_Filesystem_Base Extends class
  • src/wp-admin/includes/class-wp-theme-install-list-table.php

     
    358358        /**
    359359         * Send required variables to JavaScript land
    360360         *
    361          * @since 3.4
     361         * @since 3.4.0
    362362         * @access private
    363363         *
    364364         * @uses $tab Global; current tab within Themes->Install screen
     
    372372        /**
    373373         * Check to see if the theme is already installed.
    374374         *
    375          * @since 3.4
     375         * @since 3.4.0
    376376         * @access private
    377377         *
    378378         * @param object $theme - A WordPress.org Theme API object.
  • src/wp-admin/includes/class-wp-themes-list-table.php

     
    238238        /**
    239239         * Send required variables to JavaScript land
    240240         *
    241          * @since 3.4
     241         * @since 3.4.0
    242242         * @access private
    243243         *
    244244         * @uses $this->features Array of all feature search terms.
  • src/wp-admin/includes/file.php

     
    191191 * Handle PHP uploads in WordPress, sanitizing file names, checking extensions for mime type,
    192192 * and moving the file to the appropriate directory within the uploads directory.
    193193 *
    194  * @since 2.0
     194 * @since 2.0.0
    195195 *
    196196 * @uses wp_handle_upload_error
    197197 * @uses apply_filters
  • src/wp-admin/includes/misc.php

     
    346346/**
    347347 * Saves option for number of rows when listing posts, pages, comments, etc.
    348348 *
    349  * @since 2.8
     349 * @since 2.8.0
    350350**/
    351351function set_screen_options() {
    352352
     
    648648/**
    649649 * Check lock status for posts displayed on the Posts screen
    650650 *
    651  * @since 3.6
     651 * @since 3.6.0
    652652 */
    653653function wp_check_locked_posts( $response, $data, $screen_id ) {
    654654        $checked = array();
     
    679679/**
    680680 * Check lock status on the New/Edit Post screen and refresh the lock
    681681 *
    682  * @since 3.6
     682 * @since 3.6.0
    683683 */
    684684function wp_refresh_post_lock( $response, $data, $screen_id ) {
    685685        if ( array_key_exists( 'wp-refresh-post-lock', $data ) ) {
     
    718718/**
    719719 * Check nonce expiration on the New/Edit Post screen and refresh if needed
    720720 *
    721  * @since 3.6
     721 * @since 3.6.0
    722722 */
    723723function wp_refresh_post_nonces( $response, $data, $screen_id ) {
    724724        if ( array_key_exists( 'wp-refresh-post-nonces', $data ) ) {
  • src/wp-admin/includes/plugin.php

     
    14121412 *
    14131413 * If the slug hasn't been registered properly no url will be returned
    14141414 *
    1415  * @since 3.0
     1415 * @since 3.0.0
    14161416 *
    14171417 * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu)
    14181418 * @param bool $echo Whether or not to echo the url - default is true
  • src/wp-admin/includes/template.php

     
    19491949/**
    19501950 * Output the HTML for restoring the post data from DOM storage
    19511951 *
    1952  * @since 3.6
     1952 * @since 3.6.0
    19531953 * @access private
    19541954 */
    19551955function _local_storage_notice() {
  • src/wp-admin/includes/user.php

     
    99/**
    1010 * Creates a new user from the "Users" form using $_POST information.
    1111 *
    12  * @since 2.0
     12 * @since 2.0.0
    1313 *
    1414 * @return null|WP_Error|int Null when adding user, WP_Error or User ID integer when no parameters.
    1515 */
     
    2222 *
    2323 * Used on user-edit.php and profile.php to manage and process user options, passwords etc.
    2424 *
    25  * @since 2.0
     25 * @since 2.0.0
    2626 *
    2727 * @param int $user_id Optional. User ID.
    2828 * @return int user id of the updated user
     
    193193 * only editors or authors. This filter allows admins to delegate
    194194 * user management.
    195195 *
    196  * @since 2.8
     196 * @since 2.8.0
    197197 *
    198198 * @return unknown
    199199 */
  • src/wp-admin/js/theme-install.js

     
    129129/**
    130130 * Class that provides infinite scroll for Themes admin screens
    131131 *
    132  * @since 3.4
     132 * @since 3.4.0
    133133 *
    134134 * @uses ajaxurl
    135135 * @uses list_args
     
    147147                /**
    148148                 * Initializer
    149149                 *
    150                  * @since 3.4
     150                 * @since 3.4.0
    151151                 * @access private
    152152                 */
    153153                init: function() {
     
    187187                 * Checks to see if user has scrolled to bottom of page.
    188188                 * If so, requests another page of content from self.ajax().
    189189                 *
    190                  * @since 3.4
     190                 * @since 3.4.0
    191191                 * @access private
    192192                 */
    193193                poll: function() {
     
    204204                /**
    205205                 * Applies results passed from this.ajax() to $outList
    206206                 *
    207                  * @since 3.4
     207                 * @since 3.4.0
    208208                 * @access private
    209209                 *
    210210                 * @param results Array with results from this.ajax() query.
     
    227227                /**
    228228                 * Queries next page of themes
    229229                 *
    230                  * @since 3.4
     230                 * @since 3.4.0
    231231                 * @access private
    232232                 */
    233233                ajax: function() {
  • src/wp-admin/update-core.php

     
    133133/**
    134134 * Display upgrade WordPress for downloading latest or upgrading automatically form.
    135135 *
    136  * @since 2.7
     136 * @since 2.7.0
    137137 *
    138138 * @return null
    139139 */
     
    353353/**
    354354 * Upgrade WordPress core display.
    355355 *
    356  * @since 2.7
     356 * @since 2.7.0
    357357 *
    358358 * @return null
    359359 */
  • src/wp-includes/author-template.php

     
    1313/**
    1414 * Retrieve the author of the current post.
    1515 *
    16  * @since 1.5
     16 * @since 1.5.0
    1717 * @uses $authordata The current author's DB object.
    1818 * @uses apply_filters() Calls 'the_author' hook on the author display name.
    1919 *
     
    6868/**
    6969 * Retrieve the author who last edited the current post.
    7070 *
    71  * @since 2.8
     71 * @since 2.8.0
    7272 * @uses $post The current post's DB object.
    7373 * @uses get_post_meta() Retrieves the ID of the author who last edited the current post.
    7474 * @uses get_userdata() Retrieves the author's DB object.
     
    9393/**
    9494 * Display the name of the author who last edited the current post.
    9595 *
    96  * @since 2.8
     96 * @since 2.8.0
    9797 * @see get_the_author()
    9898 * @return string The author's display name, from get_the_modified_author().
    9999 */
     
    184184 * author's name.
    185185 *
    186186 * @link http://codex.wordpress.org/Template_Tags/the_author_link
    187  * @since 2.1
     187 * @since 2.1.0
    188188 * @uses get_the_author_link()
    189189 */
    190190function the_author_link() {
     
    194194/**
    195195 * Retrieve the number of posts by the author of the current post.
    196196 *
    197  * @since 1.5
     197 * @since 1.5.0
    198198 * @uses $post The current post in the Loop's DB object.
    199199 * @uses count_user_posts()
    200200 * @return int The number of posts by the author.
  • src/wp-includes/cache.php

     
    163163/**
    164164 * Saves the data to the cache.
    165165 *
    166  * @since 2.0
     166 * @since 2.0.0
    167167 * @uses $wp_object_cache Object Cache Class
    168168 * @see WP_Object_Cache::set()
    169169 *
     
    256256 *
    257257 * @package WordPress
    258258 * @subpackage Cache
    259  * @since 2.0
     259 * @since 2.0.0
    260260 */
    261261class WP_Object_Cache {
    262262
  • src/wp-includes/canonical.php

     
    467467 * Removes arguments from a query string if they are not present in a URL
    468468 * DO NOT use this in plugin code.
    469469 *
    470  * @since 3.4
     470 * @since 3.4.0
    471471 * @access private
    472472 *
    473473 * @return string The altered query string
  • src/wp-includes/category-template.php

     
    10421042/**
    10431043 * Retrieve tag description.
    10441044 *
    1045  * @since 2.8
     1045 * @since 2.8.0
    10461046 *
    10471047 * @param int $tag Optional. Tag ID. Will use global tag ID by default.
    10481048 * @return string Tag description, available.
     
    10541054/**
    10551055 * Retrieve term description.
    10561056 *
    1057  * @since 2.8
     1057 * @since 2.8.0
    10581058 *
    10591059 * @param int $term Optional. Term ID. Will use global term ID by default.
    10601060 * @param string $taxonomy Optional taxonomy name. Defaults to 'post_tag'.
  • src/wp-includes/class-http.php

     
    13951395 *
    13961396 * @link http://core.trac.wordpress.org/ticket/4011 Proxy support ticket in WordPress.
    13971397 * @link http://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_PROXY_BYPASS_HOSTS
    1398  * @since 2.8
     1398 * @since 2.8.0
    13991399 */
    14001400class WP_HTTP_Proxy {
    14011401
     
    14021402        /**
    14031403         * Whether proxy connection should be used.
    14041404         *
    1405          * @since 2.8
     1405         * @since 2.8.0
    14061406         * @use WP_PROXY_HOST
    14071407         * @use WP_PROXY_PORT
    14081408         *
     
    14151415        /**
    14161416         * Whether authentication should be used.
    14171417         *
    1418          * @since 2.8
     1418         * @since 2.8.0
    14191419         * @use WP_PROXY_USERNAME
    14201420         * @use WP_PROXY_PASSWORD
    14211421         *
     
    14281428        /**
    14291429         * Retrieve the host for the proxy server.
    14301430         *
    1431          * @since 2.8
     1431         * @since 2.8.0
    14321432         *
    14331433         * @return string
    14341434         */
     
    14421442        /**
    14431443         * Retrieve the port for the proxy server.
    14441444         *
    1445          * @since 2.8
     1445         * @since 2.8.0
    14461446         *
    14471447         * @return string
    14481448         */
     
    14561456        /**
    14571457         * Retrieve the username for proxy authentication.
    14581458         *
    1459          * @since 2.8
     1459         * @since 2.8.0
    14601460         *
    14611461         * @return string
    14621462         */
     
    14701470        /**
    14711471         * Retrieve the password for proxy authentication.
    14721472         *
    1473          * @since 2.8
     1473         * @since 2.8.0
    14741474         *
    14751475         * @return string
    14761476         */
     
    14841484        /**
    14851485         * Retrieve authentication string for proxy authentication.
    14861486         *
    1487          * @since 2.8
     1487         * @since 2.8.0
    14881488         *
    14891489         * @return string
    14901490         */
     
    14951495        /**
    14961496         * Retrieve header string for proxy authentication.
    14971497         *
    1498          * @since 2.8
     1498         * @since 2.8.0
    14991499         *
    15001500         * @return string
    15011501         */
     
    17621762 *
    17631763 * Includes RFC 1950, RFC 1951, and RFC 1952.
    17641764 *
    1765  * @since 2.8
     1765 * @since 2.8.0
    17661766 * @package WordPress
    17671767 * @subpackage HTTP
    17681768 */
     
    17731773         *
    17741774         * Supports the RFC 1951 standard.
    17751775         *
    1776          * @since 2.8
     1776         * @since 2.8.0
    17771777         *
    17781778         * @param string $raw String to compress.
    17791779         * @param int $level Optional, default is 9. Compression level, 9 is highest.
     
    17921792         * 1952 standard gzip decode will be attempted. If all fail, then the
    17931793         * original compressed string will be returned.
    17941794         *
    1795          * @since 2.8
     1795         * @since 2.8.0
    17961796         *
    17971797         * @param string $compressed String to decompress.
    17981798         * @param int $length The optional length of the compressed data.
     
    18761876        /**
    18771877         * What encoding types to accept and their priority values.
    18781878         *
    1879          * @since 2.8
     1879         * @since 2.8.0
    18801880         *
    18811881         * @return string Types of encoding to accept.
    18821882         */
     
    19101910        /**
    19111911         * What encoding the content used when it was compressed to send in the headers.
    19121912         *
    1913          * @since 2.8
     1913         * @since 2.8.0
    19141914         *
    19151915         * @return string Content-Encoding string to send in the header.
    19161916         */
     
    19211921        /**
    19221922         * Whether the content be decoded based on the headers.
    19231923         *
    1924          * @since 2.8
     1924         * @since 2.8.0
    19251925         *
    19261926         * @param array|string $headers All of the available headers.
    19271927         * @return bool
     
    19441944         * ensure that the functions all exist in the PHP version and aren't
    19451945         * disabled.
    19461946         *
    1947          * @since 2.8
     1947         * @since 2.8.0
    19481948         *
    19491949         * @return bool
    19501950         */
  • src/wp-includes/class-wp-xmlrpc-server.php

     
    33493349        /**
    33503350          * Retrieves a list of post formats used by the site
    33513351          *
    3352           * @since 3.1
     3352          * @since 3.1.0
    33533353          *
    33543354          * @param array $args Method parameters. Contains:
    33553355          *  - blog_id
  • src/wp-includes/comment-template.php

     
    139139 *
    140140 * @global object $comment The current Comment row object.
    141141 *
    142  * @since 2.7
     142 * @since 2.7.0
    143143 *
    144144 * @param string $linktext Optional. The text to display instead of the comment author's email address. Default empty.
    145145 * @param string $before   Optional. The text or HTML to display before the email link. Default empty.
  • src/wp-includes/default-constants.php

     
    160160function wp_cookie_constants() {
    161161        /**
    162162         * Used to guarantee unique hash cookies
    163          * @since 1.5
     163         * @since 1.5.0
    164164         */
    165165        if ( !defined( 'COOKIEHASH' ) ) {
    166166                $siteurl = get_site_option( 'siteurl' );
  • src/wp-includes/deprecated.php

     
    5353 * Sets up the WordPress Loop.
    5454 *
    5555 * @since 1.0.1
    56  * @deprecated 1.5
     56 * @deprecated 1.5.0
    5757 * @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop}
    5858 */
    5959function start_wp() {
     
    121121/**
    122122 * Prints link to the previous post.
    123123 *
    124  * @since 1.5
    125  * @deprecated 2.0
     124 * @since 1.5.0
     125 * @deprecated 2.0.0
    126126 * @deprecated Use previous_post_link()
    127127 * @see previous_post_link()
    128128 *
     
    159159 * Prints link to the next post.
    160160 *
    161161 * @since 0.71
    162  * @deprecated 2.0
     162 * @deprecated 2.0.0
    163163 * @deprecated Use next_post_link()
    164164 * @see next_post_link()
    165165 *
     
    194194/**
    195195 * Whether user can create a post.
    196196 *
    197  * @since 1.5
    198  * @deprecated 2.0
     197 * @since 1.5.0
     198 * @deprecated 2.0.0
    199199 * @deprecated Use current_user_can()
    200200 * @see current_user_can()
    201201 *
     
    214214/**
    215215 * Whether user can create a post.
    216216 *
    217  * @since 1.5
    218  * @deprecated 2.0
     217 * @since 1.5.0
     218 * @deprecated 2.0.0
    219219 * @deprecated Use current_user_can()
    220220 * @see current_user_can()
    221221 *
     
    234234/**
    235235 * Whether user can edit a post.
    236236 *
    237  * @since 1.5
    238  * @deprecated 2.0
     237 * @since 1.5.0
     238 * @deprecated 2.0.0
    239239 * @deprecated Use current_user_can()
    240240 * @see current_user_can()
    241241 *
     
    263263/**
    264264 * Whether user can delete a post.
    265265 *
    266  * @since 1.5
    267  * @deprecated 2.0
     266 * @since 1.5.0
     267 * @deprecated 2.0.0
    268268 * @deprecated Use current_user_can()
    269269 * @see current_user_can()
    270270 *
     
    283283/**
    284284 * Whether user can set new posts' dates.
    285285 *
    286  * @since 1.5
    287  * @deprecated 2.0
     286 * @since 1.5.0
     287 * @deprecated 2.0.0
    288288 * @deprecated Use current_user_can()
    289289 * @see current_user_can()
    290290 *
     
    303303/**
    304304 * Whether user can delete a post.
    305305 *
    306  * @since 1.5
    307  * @deprecated 2.0
     306 * @since 1.5.0
     307 * @deprecated 2.0.0
    308308 * @deprecated Use current_user_can()
    309309 * @see current_user_can()
    310310 *
     
    323323/**
    324324 * Whether user can delete a post.
    325325 *
    326  * @since 1.5
    327  * @deprecated 2.0
     326 * @since 1.5.0
     327 * @deprecated 2.0.0
    328328 * @deprecated Use current_user_can()
    329329 * @see current_user_can()
    330330 *
     
    343343/**
    344344 * Whether user can delete a post.
    345345 *
    346  * @since 1.5
    347  * @deprecated 2.0
     346 * @since 1.5.0
     347 * @deprecated 2.0.0
    348348 * @deprecated Use current_user_can()
    349349 * @see current_user_can()
    350350 *
     
    363363/**
    364364 * Can user can edit other user.
    365365 *
    366  * @since 1.5
    367  * @deprecated 2.0
     366 * @since 1.5.0
     367 * @deprecated 2.0.0
    368368 * @deprecated Use current_user_can()
    369369 * @see current_user_can()
    370370 *
     
    387387 * Gets the links associated with category $cat_name.
    388388 *
    389389 * @since 0.71
    390  * @deprecated 2.1
     390 * @deprecated 2.1.0
    391391 * @deprecated Use get_bookmarks()
    392392 * @see get_bookmarks()
    393393 *
     
    421421 * Gets the links associated with the named category.
    422422 *
    423423 * @since 1.0.1
    424  * @deprecated 2.1
     424 * @deprecated 2.1.0
    425425 * @deprecated Use wp_list_bookmarks()
    426426 * @see wp_list_bookmarks()
    427427 *
     
    459459 * </code>
    460460 *
    461461 * @since 1.0.1
    462  * @deprecated 2.1
     462 * @deprecated 2.1.0
    463463 * @deprecated Use get_bookmarks()
    464464 * @see get_bookmarks()
    465465 *
     
    512512 * </ol>
    513513 *
    514514 * @since 1.0.1
    515  * @deprecated 2.1
     515 * @deprecated 2.1.0
    516516 * @deprecated Use get_bookmarks()
    517517 * @see get_bookmarks()
    518518 *
     
    540540 * Gets the links associated with category 'cat_name' and display rating stars/chars.
    541541 *
    542542 * @since 0.71
    543  * @deprecated 2.1
     543 * @deprecated 2.1.0
    544544 * @deprecated Use get_bookmarks()
    545545 * @see get_bookmarks()
    546546 *
     
    568568 * Gets the links associated with category n and display rating stars/chars.
    569569 *
    570570 * @since 0.71
    571  * @deprecated 2.1
     571 * @deprecated 2.1.0
    572572 * @deprecated Use get_bookmarks()
    573573 * @see get_bookmarks()
    574574 *
     
    596596 * Gets the auto_toggle setting.
    597597 *
    598598 * @since 0.71
    599  * @deprecated 2.1
     599 * @deprecated 2.1.0
    600600 * @deprecated No alternative function available
    601601 *
    602602 * @param int $id The category to get. If no category supplied uses 0
     
    609609
    610610/**
    611611 * @since 0.71
    612  * @deprecated 2.1
     612 * @deprecated 2.1.0
    613613 * @deprecated Use wp_list_categories()
    614614 * @see wp_list_categories()
    615615 *
     
    644644}
    645645
    646646/**
    647  * @since 1.2
    648  * @deprecated 2.1
     647 * @since 1.2.0
     648 * @deprecated 2.1.0
    649649 * @deprecated Use wp_list_categories()
    650650 * @see wp_list_categories()
    651651 *
     
    677677
    678678/**
    679679 * @since 0.71
    680  * @deprecated 2.1
     680 * @deprecated 2.1.0
    681681 * @deprecated Use wp_dropdown_categories()
    682682 * @see wp_dropdown_categories()
    683683 *
     
    713713}
    714714
    715715/**
    716  * @since 1.2
    717  * @deprecated 2.1
     716 * @since 1.2.0
     717 * @deprecated 2.1.0
    718718 * @deprecated Use wp_list_authors()
    719719 * @see wp_list_authors()
    720720 *
     
    735735
    736736/**
    737737 * @since 1.0.1
    738  * @deprecated 2.1
     738 * @deprecated 2.1.0
    739739 * @deprecated Use wp_get_post_categories()
    740740 * @see wp_get_post_categories()
    741741 *
     
    752752 * Sets the categories that the post id belongs to.
    753753 *
    754754 * @since 1.0.1
    755  * @deprecated 2.1
     755 * @deprecated 2.1.0
    756756 * @deprecated Use wp_set_post_categories()
    757757 * @see wp_set_post_categories()
    758758 *
     
    768768
    769769/**
    770770 * @since 0.71
    771  * @deprecated 2.1
     771 * @deprecated 2.1.0
    772772 * @deprecated Use wp_get_archives()
    773773 * @see wp_get_archives()
    774774 *
     
    789789/**
    790790 * Returns or Prints link to the author's posts.
    791791 *
    792  * @since 1.2
    793  * @deprecated 2.1
     792 * @since 1.2.0
     793 * @deprecated 2.1.0
    794794 * @deprecated Use get_author_posts_url()
    795795 * @see get_author_posts_url()
    796796 *
     
    813813 * Print list of pages based on arguments.
    814814 *
    815815 * @since 0.71
    816  * @deprecated 2.1
     816 * @deprecated 2.1.0
    817817 * @deprecated Use wp_link_pages()
    818818 * @see wp_link_pages()
    819819 *
     
    838838 * Get value based on option.
    839839 *
    840840 * @since 0.71
    841  * @deprecated 2.1
     841 * @deprecated 2.1.0
    842842 * @deprecated Use get_option()
    843843 * @see get_option()
    844844 *
     
    855855 * Print the permalink of the current post in the loop.
    856856 *
    857857 * @since 0.71
    858  * @deprecated 1.2
     858 * @deprecated 1.2.0
    859859 * @deprecated Use the_permalink()
    860860 * @see the_permalink()
    861861 */
     
    868868 * Print the permalink to the RSS feed.
    869869 *
    870870 * @since 0.71
    871  * @deprecated 2.3
     871 * @deprecated 2.3.0
    872872 * @deprecated Use the_permalink_rss()
    873873 * @see the_permalink_rss()
    874874 *
     
    884884 *
    885885 * @see get_links() for argument information that can be used in $args
    886886 * @since 1.0.1
    887  * @deprecated 2.1
     887 * @deprecated 2.1.0
    888888 * @deprecated Use wp_list_bookmarks()
    889889 * @see wp_list_bookmarks()
    890890 *
     
    924924 * Gets the links associated with category by id.
    925925 *
    926926 * @since 0.71
    927  * @deprecated 2.1
     927 * @deprecated 2.1.0
    928928 * @deprecated Use get_bookmarks()
    929929 * @see get_bookmarks()
    930930 *
     
    10331033 * $wpdb->linkcategories and output it as a nested HTML unordered list.
    10341034 *
    10351035 * @since 1.0.1
    1036  * @deprecated 2.1
     1036 * @deprecated 2.1.0
    10371037 * @deprecated Use wp_list_bookmarks()
    10381038 * @see wp_list_bookmarks()
    10391039 *
     
    10761076 * Show the link to the links popup and the number of links.
    10771077 *
    10781078 * @since 0.71
    1079  * @deprecated 2.1
     1079 * @deprecated 2.1.0
    10801080 * @deprecated {@internal Use function instead is unknown}}
    10811081 *
    10821082 * @param string $text the text of the link
     
    10911091
    10921092/**
    10931093 * @since 1.0.1
    1094  * @deprecated 2.1
     1094 * @deprecated 2.1.0
    10951095 * @deprecated Use sanitize_bookmark_field()
    10961096 * @see sanitize_bookmark_field()
    10971097 *
     
    11071107 * Gets the name of category by id.
    11081108 *
    11091109 * @since 0.71
    1110  * @deprecated 2.1
     1110 * @deprecated 2.1.0
    11111111 * @deprecated Use get_category()
    11121112 * @see get_category()
    11131113 *
     
    11371137 * Print RSS comment feed link.
    11381138 *
    11391139 * @since 1.0.1
    1140  * @deprecated 2.5
     1140 * @deprecated 2.5.0
    11411141 * @deprecated Use post_comments_feed_link()
    11421142 * @see post_comments_feed_link()
    11431143 *
     
    11511151/**
    11521152 * Print/Return link to category RSS2 feed.
    11531153 *
    1154  * @since 1.2
    1155  * @deprecated 2.5
     1154 * @since 1.2.0
     1155 * @deprecated 2.5.0
    11561156 * @deprecated Use get_category_feed_link()
    11571157 * @see get_category_feed_link()
    11581158 *
     
    11731173/**
    11741174 * Print/Return link to author RSS feed.
    11751175 *
    1176  * @since 1.2
    1177  * @deprecated 2.5
     1176 * @since 1.2.0
     1177 * @deprecated 2.5.0
    11781178 * @deprecated Use get_author_feed_link()
    11791179 * @see get_author_feed_link()
    11801180 *
     
    11941194/**
    11951195 * Return link to the post RSS feed.
    11961196 *
    1197  * @since 1.5
    1198  * @deprecated 2.2
     1197 * @since 1.5.0
     1198 * @deprecated 2.2.0
    11991199 * @deprecated Use get_post_comments_feed_link()
    12001200 * @see get_post_comments_feed_link()
    12011201 *
     
    12091209/**
    12101210 * An alias of wp_create_user().
    12111211 *
    1212  * @since 2.0
    1213  * @deprecated 2.0
     1212 * @since 2.0.0
     1213 * @deprecated 2.0.0
    12141214 * @deprecated Use wp_create_user()
    12151215 * @see wp_create_user()
    12161216 *
     
    12271227/**
    12281228 * Unused function.
    12291229 *
    1230  * @deprecated 2.5
     1230 * @deprecated 2.5.0
    12311231*/
    12321232function gzip_compression() {
    12331233        _deprecated_function( __FUNCTION__, '2.5' );
     
    12381238 * Retrieve an array of comment data about comment $comment_ID.
    12391239 *
    12401240 * @since 0.71
    1241  * @deprecated 2.7
     1241 * @deprecated 2.7.0
    12421242 * @deprecated Use get_comment()
    12431243 * @see get_comment()
    12441244 *
     
    12561256 * Retrieve the category name by the category ID.
    12571257 *
    12581258 * @since 0.71
    1259  * @deprecated 2.8
     1259 * @deprecated 2.8.0
    12601260 * @deprecated Use get_cat_name()
    12611261 * @see get_cat_name()
    12621262 *
     
    12721272 * Retrieve category children list separated before and after the term IDs.
    12731273 *
    12741274 * @since 1.2.0
    1275  * @deprecated 2.8
     1275 * @deprecated 2.8.0
    12761276 * @deprecated Use get_term_children()
    12771277 * @see get_term_children()
    12781278 *
     
    13091309/**
    13101310 * Retrieve the description of the author of the current post.
    13111311 *
    1312  * @since 1.5
    1313  * @deprecated 2.8
     1312 * @since 1.5.0
     1313 * @deprecated 2.8.0
    13141314 * @deprecated Use get_the_author_meta('description')
    13151315 * @see get_the_author_meta()
    13161316 *
     
    13251325 * Display the description of the author of the current post.
    13261326 *
    13271327 * @since 1.0.0
    1328  * @deprecated 2.8
     1328 * @deprecated 2.8.0
    13291329 * @deprecated Use the_author_meta('description')
    13301330 * @see the_author_meta()
    13311331 */
     
    13371337/**
    13381338 * Retrieve the login name of the author of the current post.
    13391339 *
    1340  * @since 1.5
    1341  * @deprecated 2.8
     1340 * @since 1.5.0
     1341 * @deprecated 2.8.0
    13421342 * @deprecated Use get_the_author_meta('login')
    13431343 * @see get_the_author_meta()
    13441344 *
     
    13531353 * Display the login name of the author of the current post.
    13541354 *
    13551355 * @since 0.71
    1356  * @deprecated 2.8
     1356 * @deprecated 2.8.0
    13571357 * @deprecated Use the_author_meta('login')
    13581358 * @see the_author_meta()
    13591359 */
     
    13651365/**
    13661366 * Retrieve the first name of the author of the current post.
    13671367 *
    1368  * @since 1.5
    1369  * @deprecated 2.8
     1368 * @since 1.5.0
     1369 * @deprecated 2.8.0
    13701370 * @deprecated Use get_the_author_meta('first_name')
    13711371 * @see get_the_author_meta()
    13721372 *
     
    13811381 * Display the first name of the author of the current post.
    13821382 *
    13831383 * @since 0.71
    1384  * @deprecated 2.8
     1384 * @deprecated 2.8.0
    13851385 * @deprecated Use the_author_meta('first_name')
    13861386 * @see the_author_meta()
    13871387 */
     
    13931393/**
    13941394 * Retrieve the last name of the author of the current post.
    13951395 *
    1396  * @since 1.5
    1397  * @deprecated 2.8
     1396 * @since 1.5.0
     1397 * @deprecated 2.8.0
    13981398 * @deprecated Use get_the_author_meta('last_name')
    13991399 * @see get_the_author_meta()
    14001400 *
     
    14091409 * Display the last name of the author of the current post.
    14101410 *
    14111411 * @since 0.71
    1412  * @deprecated 2.8
     1412 * @deprecated 2.8.0
    14131413 * @deprecated Use the_author_meta('last_name')
    14141414 * @see the_author_meta()
    14151415 */
     
    14211421/**
    14221422 * Retrieve the nickname of the author of the current post.
    14231423 *
    1424  * @since 1.5
    1425  * @deprecated 2.8
     1424 * @since 1.5.0
     1425 * @deprecated 2.8.0
    14261426 * @deprecated Use get_the_author_meta('nickname')
    14271427 * @see get_the_author_meta()
    14281428 *
     
    14371437 * Display the nickname of the author of the current post.
    14381438 *
    14391439 * @since 0.71
    1440  * @deprecated 2.8
     1440 * @deprecated 2.8.0
    14411441 * @deprecated Use the_author_meta('nickname')
    14421442 * @see the_author_meta()
    14431443 */
     
    14491449/**
    14501450 * Retrieve the email of the author of the current post.
    14511451 *
    1452  * @since 1.5
    1453  * @deprecated 2.8
     1452 * @since 1.5.0
     1453 * @deprecated 2.8.0
    14541454 * @deprecated Use get_the_author_meta('email')
    14551455 * @see get_the_author_meta()
    14561456 *
     
    14651465 * Display the email of the author of the current post.
    14661466 *
    14671467 * @since 0.71
    1468  * @deprecated 2.8
     1468 * @deprecated 2.8.0
    14691469 * @deprecated Use the_author_meta('email')
    14701470 * @see the_author_meta()
    14711471 */
     
    14771477/**
    14781478 * Retrieve the ICQ number of the author of the current post.
    14791479 *
    1480  * @since 1.5
    1481  * @deprecated 2.8
     1480 * @since 1.5.0
     1481 * @deprecated 2.8.0
    14821482 * @deprecated Use get_the_author_meta('icq')
    14831483 * @see get_the_author_meta()
    14841484 *
     
    14931493 * Display the ICQ number of the author of the current post.
    14941494 *
    14951495 * @since 0.71
    1496  * @deprecated 2.8
     1496 * @deprecated 2.8.0
    14971497 * @deprecated Use the_author_meta('icq')
    14981498 * @see the_author_meta()
    14991499 */
     
    15051505/**
    15061506 * Retrieve the Yahoo! IM name of the author of the current post.
    15071507 *
    1508  * @since 1.5
    1509  * @deprecated 2.8
     1508 * @since 1.5.0
     1509 * @deprecated 2.8.0
    15101510 * @deprecated Use get_the_author_meta('yim')
    15111511 * @see get_the_author_meta()
    15121512 *
     
    15211521 * Display the Yahoo! IM name of the author of the current post.
    15221522 *
    15231523 * @since 0.71
    1524  * @deprecated 2.8
     1524 * @deprecated 2.8.0
    15251525 * @deprecated Use the_author_meta('yim')
    15261526 * @see the_author_meta()
    15271527 */
     
    15331533/**
    15341534 * Retrieve the MSN address of the author of the current post.
    15351535 *
    1536  * @since 1.5
    1537  * @deprecated 2.8
     1536 * @since 1.5.0
     1537 * @deprecated 2.8.0
    15381538 * @deprecated Use get_the_author_meta('msn')
    15391539 * @see get_the_author_meta()
    15401540 *
     
    15491549 * Display the MSN address of the author of the current post.
    15501550 *
    15511551 * @since 0.71
    1552  * @deprecated 2.8
     1552 * @deprecated 2.8.0
    15531553 * @deprecated Use the_author_meta('msn')
    15541554 * @see the_author_meta()
    15551555 */
     
    15611561/**
    15621562 * Retrieve the AIM address of the author of the current post.
    15631563 *
    1564  * @since 1.5
    1565  * @deprecated 2.8
     1564 * @since 1.5.0
     1565 * @deprecated 2.8.0
    15661566 * @deprecated Use get_the_author_meta('aim')
    15671567 * @see get_the_author_meta()
    15681568 *
     
    15781578 *
    15791579 * @since 0.71
    15801580 * @see the_author_meta()
    1581  * @deprecated 2.8
     1581 * @deprecated 2.8.0
    15821582 * @deprecated Use the_author_meta('aim')
    15831583 */
    15841584function the_author_aim() {
     
    15901590 * Retrieve the specified author's preferred display name.
    15911591 *
    15921592 * @since 1.0.0
    1593  * @deprecated 2.8
     1593 * @deprecated 2.8.0
    15941594 * @deprecated Use get_the_author_meta('display_name')
    15951595 * @see get_the_author_meta()
    15961596 *
     
    16051605/**
    16061606 * Retrieve the URL to the home page of the author of the current post.
    16071607 *
    1608  * @since 1.5
    1609  * @deprecated 2.8
     1608 * @since 1.5.0
     1609 * @deprecated 2.8.0
    16101610 * @deprecated Use get_the_author_meta('url')
    16111611 * @see get_the_author_meta()
    16121612 *
     
    16211621 * Display the URL to the home page of the author of the current post.
    16221622 *
    16231623 * @since 0.71
    1624  * @deprecated 2.8
     1624 * @deprecated 2.8.0
    16251625 * @deprecated Use the_author_meta('url')
    16261626 * @see the_author_meta()
    16271627 */
     
    16331633/**
    16341634 * Retrieve the ID of the author of the current post.
    16351635 *
    1636  * @since 1.5
    1637  * @deprecated 2.8
     1636 * @since 1.5.0
     1637 * @deprecated 2.8.0
    16381638 * @deprecated Use get_the_author_meta('ID')
    16391639 * @see get_the_author_meta()
    16401640 *
     
    16491649 * Display the ID of the author of the current post.
    16501650 *
    16511651 * @since 0.71
    1652  * @deprecated 2.8
     1652 * @deprecated 2.8.0
    16531653 * @deprecated Use the_author_meta('ID')
    16541654 * @see the_author_meta()
    16551655*/
     
    17851785 * Translates $text like translate(), but assumes that the text
    17861786 * contains a context after its last vertical bar.
    17871787 *
    1788  * @since 2.5
     1788 * @since 2.5.0
    17891789 * @uses translate()
    17901790 * @deprecated 3.0.0
    17911791 * @deprecated Use _x()
     
    18341834/**
    18351835 * Register plural strings in POT file, but don't translate them.
    18361836 *
    1837  * @since 2.5
     1837 * @since 2.5.0
    18381838 * @deprecated 2.8.0
    18391839 * @deprecated Use _n_noop()
    18401840 * @see _n_noop()
  • src/wp-includes/feed.php

     
    5757 *
    5858 * @package WordPress
    5959 * @subpackage Feed
    60  * @since 2.5
     60 * @since 2.5.0
    6161 * @uses apply_filters() Calls 'default_feed' hook on the default feed string.
    6262 *
    6363 * @return string Default feed, or for example 'rss2', 'atom', etc.
     
    446446 *
    447447 * @package WordPress
    448448 * @subpackage Feed
    449  * @since 2.5
     449 * @since 2.5.0
    450450 *
    451451 * @param string $data Input string
    452452 * @return array array(type, value)
     
    484484 *
    485485 * @package WordPress
    486486 * @subpackage Feed
    487  * @since 2.5
     487 * @since 2.5.0
    488488 */
    489489function self_link() {
    490490        $host = @parse_url(home_url());
     
    518518/**
    519519 * Build SimplePie object based on RSS or Atom feed from URL.
    520520 *
    521  * @since 2.8
     521 * @since 2.8.0
    522522 *
    523523 * @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged
    524524 * using SimplePie's multifeed feature.
  • src/wp-includes/link-template.php

     
    578578 * Returns a link to the feed for all posts in a given term. A specific feed
    579579 * can be requested or left blank to get the default feed.
    580580 *
    581  * @since 3.0
     581 * @since 3.0.0
    582582 *
    583583 * @param int $term_id ID of a category.
    584584 * @param string $taxonomy Optional. Taxonomy of $term_id
     
    17111711/**
    17121712 * Return post pages link navigation for previous and next pages.
    17131713 *
    1714  * @since 2.8
     1714 * @since 2.8.0
    17151715 *
    17161716 * @param string|array $args Optional args.
    17171717 * @return string The posts link navigation.
  • src/wp-includes/nav-menu-template.php

     
    385385 * Add the class property classes for the current context, if applicable.
    386386 *
    387387 * @access private
    388  * @since 3.0
     388 * @since 3.0.0
    389389 *
    390390 * @param array $menu_items The current menu item objects to which to add the class property information.
    391391 */
  • src/wp-includes/pluggable-deprecated.php

     
    5757/**
    5858 * Retrieve user info by email.
    5959 *
    60  * @since 2.5
     60 * @since 2.5.0
    6161 * @deprecated 3.3.0
    6262 * @deprecated Use get_user_by('email')
    6363 *
     
    7474/**
    7575 * Sets a cookie for a user who just logged in. This function is deprecated.
    7676 *
    77  * @since 1.5
    78  * @deprecated 2.5
     77 * @since 1.5.0
     78 * @deprecated 2.5.0
    7979 * @deprecated Use wp_set_auth_cookie()
    8080 * @see wp_set_auth_cookie()
    8181 *
     
    9999/**
    100100 * Clears the authentication cookie, logging the user out. This function is deprecated.
    101101 *
    102  * @since 1.5
    103  * @deprecated 2.5
     102 * @since 1.5.0
     103 * @deprecated 2.5.0
    104104 * @deprecated Use wp_clear_auth_cookie()
    105105 * @see wp_clear_auth_cookie()
    106106 */
     
    120120 * used anywhere in WordPress. Also, plugins shouldn't use it either.
    121121 *
    122122 * @since 2.0.3
    123  * @deprecated 2.5
     123 * @deprecated 2.5.0
    124124 * @deprecated No alternative
    125125 *
    126126 * @return bool Always returns false
  • src/wp-includes/pluggable.php

     
    506506 * Makes sure the cookie is not expired. Verifies the hash in cookie is what is
    507507 * should be and compares the two.
    508508 *
    509  * @since 2.5
     509 * @since 2.5.0
    510510 *
    511511 * @param string $cookie Optional. If used, will validate contents instead of cookie's
    512512 * @param string $scheme Optional. The cookie scheme to use: auth, secure_auth, or logged_in
     
    561561/**
    562562 * Generate authentication cookie contents.
    563563 *
    564  * @since 2.5
     564 * @since 2.5.0
    565565 * @uses apply_filters() Calls 'auth_cookie' hook on $cookie contents, User ID
    566566 *              and expiration of cookie.
    567567 *
     
    588588/**
    589589 * Parse a cookie into its components
    590590 *
    591  * @since 2.7
     591 * @since 2.7.0
    592592 *
    593593 * @param string $cookie
    594594 * @param string $scheme Optional. The cookie scheme to use: auth, secure_auth, or logged_in
     
    639639 * default the cookie is kept without remembering is two days. When $remember is
    640640 * set, the cookies will be kept for 14 days or two weeks.
    641641 *
    642  * @since 2.5
     642 * @since 2.5.0
    643643 *
    644644 * @param int $user_id User ID
    645645 * @param bool $remember Whether to remember the user
     
    687687/**
    688688 * Removes all of the cookies associated with authentication.
    689689 *
    690  * @since 2.5
     690 * @since 2.5.0
    691691 */
    692692function wp_clear_auth_cookie() {
    693693        do_action('clear_auth_cookie');
     
    735735/**
    736736 * Checks if a user is logged in, if not it redirects them to the login page.
    737737 *
    738  * @since 1.5
     738 * @since 1.5.0
    739739 */
    740740function auth_redirect() {
    741741        // Checks if a user is logged in, if not redirects them to the login page
     
    903903/**
    904904 * Sanitizes a URL for use in a redirect.
    905905 *
    906  * @since 2.3
     906 * @since 2.3.0
    907907 *
    908908 * @return string redirect-sanitized URL
    909909 **/
     
    930930 * instead. This prevents malicious redirects which redirect to another host,
    931931 * but only used in a few places.
    932932 *
    933  * @since 2.3
     933 * @since 2.3.0
    934934 * @uses wp_validate_redirect() To validate the redirect is to an allowed host.
    935935 *
    936936 * @return void Does not return anything
     
    11651165/**
    11661166 * Notifies the moderator of the blog about a new comment that is awaiting approval.
    11671167 *
    1168  * @since 1.0
     1168 * @since 1.0.0
    11691169 * @uses $wpdb
    11701170 *
    11711171 * @param int $comment_id Comment ID
     
    12511251/**
    12521252 * Notify the blog admin of a user changing password, normally via email.
    12531253 *
    1254  * @since 2.7
     1254 * @since 2.7.0
    12551255 *
    12561256 * @param object $user User Object
    12571257 */
     
    12721272/**
    12731273 * Notify the blog admin of a new user, normally via email.
    12741274 *
    1275  * @since 2.0
     1275 * @since 2.0.0
    12761276 *
    12771277 * @param int $user_id User ID
    12781278 * @param string $plaintext_pass Optional. The user's plaintext password
     
    13091309 * A nonce has a lifespan of two ticks. Nonces in their second tick may be
    13101310 * updated, e.g. by autosave.
    13111311 *
    1312  * @since 2.5
     1312 * @since 2.5.0
    13131313 *
    13141314 * @return int
    13151315 */
     
    14011401 * Salting passwords helps against tools which has stored hashed values of
    14021402 * common dictionary strings. The added values makes it harder to crack.
    14031403 *
    1404  * @since 2.5
     1404 * @since 2.5.0
    14051405 *
    14061406 * @link https://api.wordpress.org/secret-key/1.1/salt/ Create secrets for wp-config.php
    14071407 *
     
    14851485 * For integration with other applications, this function can be overwritten to
    14861486 * instead use the other package password checking algorithm.
    14871487 *
    1488  * @since 2.5
     1488 * @since 2.5.0
    14891489 * @global object $wp_hasher PHPass object
    14901490 * @uses PasswordHash::HashPassword
    14911491 *
     
    15171517 * For integration with other applications, this function can be overwritten to
    15181518 * instead use the other package password checking algorithm.
    15191519 *
    1520  * @since 2.5
     1520 * @since 2.5.0
    15211521 * @global object $wp_hasher PHPass object used for checking the password
    15221522 *      against the $hash + $password
    15231523 * @uses PasswordHash::CheckPassword
     
    15591559/**
    15601560 * Generates a random password drawn from the defined set of characters.
    15611561 *
    1562  * @since 2.5
     1562 * @since 2.5.0
    15631563 *
    15641564 * @param int $length The length of password to generate
    15651565 * @param bool $special_chars Whether to include standard special characters. Default true.
     
    16381638 * For integration with other applications, this function can be overwritten to
    16391639 * instead use the other package password checking algorithm.
    16401640 *
    1641  * @since 2.5
     1641 * @since 2.5.0
    16421642 * @uses $wpdb WordPress database object for queries
    16431643 * @uses wp_hash_password() Used to encrypt the user's password before passing to the database
    16441644 *
     
    16591659/**
    16601660 * Retrieve the avatar for a user who provided a user ID or email address.
    16611661 *
    1662  * @since 2.5
     1662 * @since 2.5.0
    16631663 * @param int|string|object $id_or_email A user ID,  email address, or comment object
    16641664 * @param int $size Size of the avatar image
    16651665 * @param string $default URL to a default image to use if no avatar is available
     
    17731773 * 'title_right' : Default is an empty string. Change the HTML to the right of
    17741774 *              the title.
    17751775 *
    1776  * @since 2.6
     1776 * @since 2.6.0
    17771777 * @see wp_parse_args() Used to change defaults to user defined settings.
    17781778 * @uses Text_Diff
    17791779 * @uses WP_Text_Diff_Renderer_Table
  • src/wp-includes/plugin.php

     
    1616 *
    1717 * @package WordPress
    1818 * @subpackage Plugin
    19  * @since 1.5
     19 * @since 1.5.0
    2020 */
    2121
    2222// Initialize the filter globals.
     
    9393 *
    9494 * @package WordPress
    9595 * @subpackage Plugin
    96  * @since 2.5
     96 * @since 2.5.0
    9797 * @global array $wp_filter Stores all of the filters
    9898 *
    9999 * @param string $tag The name of the filter hook.
     
    275275 *
    276276 * @package WordPress
    277277 * @subpackage Plugin
    278  * @since 1.2
     278 * @since 1.2.0
    279279 *
    280280 * @param string $tag The filter hook to which the function to be removed is hooked.
    281281 * @param callback $function_to_remove The name of the function which should be removed.
     
    301301/**
    302302 * Remove all of the hooks from a filter.
    303303 *
    304  * @since 2.7
     304 * @since 2.7.0
    305305 *
    306306 * @param string $tag The filter to remove hooks from.
    307307 * @param int $priority The priority number to remove.
     
    328328 *
    329329 * @package WordPress
    330330 * @subpackage Plugin
    331  * @since 2.5
     331 * @since 2.5.0
    332332 *
    333333 * @return string Hook name of the current filter or action.
    334334 */
     
    349349 *
    350350 * @package WordPress
    351351 * @subpackage Plugin
    352  * @since 1.2
     352 * @since 1.2.0
    353353 *
    354354 * @param string $tag The name of the action to which the $function_to_add is hooked.
    355355 * @param callback $function_to_add The name of the function you wish to be called.
     
    375375 *
    376376 * @package WordPress
    377377 * @subpackage Plugin
    378  * @since 1.2
     378 * @since 1.2.0
    379379 * @global array $wp_filter Stores all of the filters
    380380 * @global array $wp_actions Increments the amount of times action was triggered.
    381381 *
     
    438438 *
    439439 * @package WordPress
    440440 * @subpackage Plugin
    441  * @since 2.1
     441 * @since 2.1.0
    442442 * @global array $wp_actions Increments the amount of times action was triggered.
    443443 *
    444444 * @param string $tag The name of the action hook.
     
    461461 *
    462462 * @package WordPress
    463463 * @subpackage Plugin
    464  * @since 2.1
     464 * @since 2.1.0
    465465 * @global array $wp_filter Stores all of the filters
    466466 * @global array $wp_actions Increments the amount of times action was triggered.
    467467 *
     
    516516 *
    517517 * @package WordPress
    518518 * @subpackage Plugin
    519  * @since 2.5
     519 * @since 2.5.0
    520520 * @see has_filter() has_action() is an alias of has_filter().
    521521 *
    522522 * @param string $tag The name of the action hook.
     
    539539 *
    540540 * @package WordPress
    541541 * @subpackage Plugin
    542  * @since 1.2
     542 * @since 1.2.0
    543543 *
    544544 * @param string $tag The action hook to which the function to be removed is hooked.
    545545 * @param callback $function_to_remove The name of the function which should be removed.
     
    553553/**
    554554 * Remove all of the hooks from an action.
    555555 *
    556  * @since 2.7
     556 * @since 2.7.0
    557557 *
    558558 * @param string $tag The action to remove hooks from.
    559559 * @param int $priority The priority number to remove them from.
     
    574574 *
    575575 * @package WordPress
    576576 * @subpackage Plugin
    577  * @since 1.5
     577 * @since 1.5.0
    578578 *
    579579 * @access private
    580580 *
     
    598598 * Gets the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in
    599599 * @package WordPress
    600600 * @subpackage Plugin
    601  * @since 2.8
     601 * @since 2.8.0
    602602 *
    603603 * @param string $file The filename of the plugin (__FILE__)
    604604 * @return string the filesystem path of the directory that contains the plugin
     
    611611 * Gets the URL directory path (with trailing slash) for the plugin __FILE__ passed in
    612612 * @package WordPress
    613613 * @subpackage Plugin
    614  * @since 2.8
     614 * @since 2.8.0
    615615 *
    616616 * @param string $file The filename of the plugin (__FILE__)
    617617 * @return string the URL path of the directory that contains the plugin
     
    635635 *
    636636 * @package WordPress
    637637 * @subpackage Plugin
    638  * @since 2.0
     638 * @since 2.0.0
    639639 *
    640640 * @param string $file The filename of the plugin including the path.
    641641 * @param callback $function the function hooked to the 'activate_PLUGIN' action.
     
    660660 *
    661661 * @package WordPress
    662662 * @subpackage Plugin
    663  * @since 2.0
     663 * @since 2.0.0
    664664 *
    665665 * @param string $file The filename of the plugin including the path.
    666666 * @param callback $function the function hooked to the 'deactivate_PLUGIN' action.
     
    690690 * should always check for the 'WP_UNINSTALL_PLUGIN' constant, before
    691691 * executing.
    692692 *
    693  * @since 2.7
     693 * @since 2.7.0
    694694 *
    695695 * @param string $file
    696696 * @param callback $callback The callback to run when the hook is called. Must be a static method or function.
     
    722722 *
    723723 * @package WordPress
    724724 * @subpackage Plugin
    725  * @since 2.5
     725 * @since 2.5.0
    726726 * @access private
    727727 *
    728728 * @uses $wp_filter Used to process all of the functions in the 'all' hook
  • src/wp-includes/post-thumbnail-template.php

     
    4949/**
    5050 * Update cache for thumbnails in the current loop
    5151 *
    52  * @since 3.2
     52 * @since 3.2.0
    5353 *
    5454 * @param object $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global.
    5555 */
  • src/wp-includes/script-loader.php

     
    714714 * Postpones the scripts that were queued for the footer.
    715715 * print_footer_scripts() is called in the footer to print these scripts.
    716716 *
    717  * @since 2.8
     717 * @since 2.8.0
    718718 *
    719719 * @see wp_print_scripts()
    720720 */
     
    743743/**
    744744 * Prints the scripts that were queued for the footer or too late for the HTML head.
    745745 *
    746  * @since 2.8
     746 * @since 2.8.0
    747747 */
    748748function print_footer_scripts() {
    749749        global $wp_scripts, $concatenate_scripts;
     
    799799 * Postpones the scripts that were queued for the footer.
    800800 * wp_print_footer_scripts() is called in the footer to print these scripts.
    801801 *
    802  * @since 2.8
     802 * @since 2.8.0
    803803 */
    804804function wp_print_head_scripts() {
    805805        if ( ! did_action('wp_print_scripts') ) {
     
    828828/**
    829829 * Hooks to print the scripts and styles in the footer.
    830830 *
    831  * @since 2.8
     831 * @since 2.8.0
    832832 */
    833833function wp_print_footer_scripts() {
    834834        do_action('wp_print_footer_scripts');
     
    840840 * Allows plugins to queue scripts for the front end using wp_enqueue_script().
    841841 * Runs first in wp_head() where all is_home(), is_page(), etc. functions are available.
    842842 *
    843  * @since 2.8
     843 * @since 2.8.0
    844844 */
    845845function wp_enqueue_scripts() {
    846846        do_action('wp_enqueue_scripts');
     
    849849/**
    850850 * Prints the styles queue in the HTML head on admin pages.
    851851 *
    852  * @since 2.8
     852 * @since 2.8.0
    853853 */
    854854function print_admin_styles() {
    855855        global $wp_styles, $concatenate_scripts, $compress_css;
     
    923923/**
    924924 * Determine the concatenation and compression settings for scripts and styles.
    925925 *
    926  * @since 2.8
     926 * @since 2.8.0
    927927 */
    928928function script_concat_settings() {
    929929        global $concatenate_scripts, $compress_scripts, $compress_css;
  • src/wp-includes/shortcodes.php

     
    2929 *
    3030 * @package WordPress
    3131 * @subpackage Shortcodes
    32  * @since 2.5
     32 * @since 2.5.0
    3333 */
    3434
    3535/**
    3636 * Container for storing shortcode tags and their hook to call for the shortcode
    3737 *
    38  * @since 2.5
     38 * @since 2.5.0
    3939 * @name $shortcode_tags
    4040 * @var array
    4141 * @global array $shortcode_tags
     
    8484 * add_shortcode('baztag', 'baztag_func');
    8585 * </code>
    8686 *
    87  * @since 2.5
     87 * @since 2.5.0
    8888 * @uses $shortcode_tags
    8989 *
    9090 * @param string $tag Shortcode tag to be searched in post content.
     
    100100/**
    101101 * Removes hook for shortcode.
    102102 *
    103  * @since 2.5
     103 * @since 2.5.0
    104104 * @uses $shortcode_tags
    105105 *
    106106 * @param string $tag shortcode tag to remove hook for.
     
    118118 * shortcodes global by a empty array. This is actually a very efficient method
    119119 * for removing all shortcodes.
    120120 *
    121  * @since 2.5
     121 * @since 2.5.0
    122122 * @uses $shortcode_tags
    123123 */
    124124function remove_all_shortcodes() {
     
    171171 * without any filtering. This might cause issues when plugins are disabled but
    172172 * the shortcode will still show up in the post or content.
    173173 *
    174  * @since 2.5
     174 * @since 2.5.0
    175175 * @uses $shortcode_tags
    176176 * @uses get_shortcode_regex() Gets the search pattern for searching shortcodes.
    177177 *
     
    203203 * 5 - The content of a shortcode when it wraps some content.
    204204 * 6 - An extra ] to allow for escaping shortcodes with double [[]]
    205205 *
    206  * @since 2.5
     206 * @since 2.5.0
    207207 * @uses $shortcode_tags
    208208 *
    209209 * @return string The shortcode search regular expression
     
    250250 * Regular Expression callable for do_shortcode() for calling shortcode hook.
    251251 * @see get_shortcode_regex for details of the match array contents.
    252252 *
    253  * @since 2.5
     253 * @since 2.5.0
    254254 * @access private
    255255 * @uses $shortcode_tags
    256256 *
     
    284284 * attribute as the value in the key/value pair. This allows for easier
    285285 * retrieval of the attributes, since all attributes have to be known.
    286286 *
    287  * @since 2.5
     287 * @since 2.5.0
    288288 *
    289289 * @param string $text
    290290 * @return array List of attributes and their value.
     
    322322 * If the $atts list has unsupported attributes, then they will be ignored and
    323323 * removed from the final returned list.
    324324 *
    325  * @since 2.5
     325 * @since 2.5.0
    326326 *
    327327 * @param array $pairs Entire list of supported attributes and their defaults.
    328328 * @param array $atts User defined attributes in shortcode tag.
     
    359359/**
    360360 * Remove all shortcode tags from the given content.
    361361 *
    362  * @since 2.5
     362 * @since 2.5.0
    363363 * @uses $shortcode_tags
    364364 *
    365365 * @param string $content Content to remove shortcode tags.
  • src/wp-includes/taxonomy.php

     
    23372337 *
    23382338 * @package WordPress
    23392339 * @subpackage Taxonomy
    2340  * @since 3.6
     2340 * @since 3.6.0
    23412341 * @uses wp_set_object_terms()
    23422342 *
    23432343 * @param int $object_id The ID of the object to which the terms will be added.
     
    23542354 *
    23552355 * @package WordPress
    23562356 * @subpackage Taxonomy
    2357  * @since 3.6
     2357 * @since 3.6.0
    23582358 * @uses $wpdb
    23592359 *
    23602360 * @uses apply_filters() Calls 'delete_term_relationships' hook with object_id and tt_ids as parameters.
  • src/wp-includes/theme.php

     
    15591559/**
    15601560 * Gets the theme support arguments passed when registering that support
    15611561 *
    1562  * @since 3.1
     1562 * @since 3.1.0
    15631563 * @param string $feature the feature to check
    15641564 * @return array The array of extra arguments
    15651565 */
  • src/wp-includes/widgets.php

     
    1919 *
    2020 * @package WordPress
    2121 * @subpackage Widgets
    22  * @since 2.8
     22 * @since 2.8.0
    2323 */
    2424class WP_Widget {
    2525
     
    311311 *
    312312 * @package WordPress
    313313 * @subpackage Widgets
    314  * @since 2.8
     314 * @since 2.8.0
    315315 */
    316316class WP_Widget_Factory {
    317317        var $widgets = array();
     
    978978/**
    979979 * Whether a sidebar is in use.
    980980 *
    981  * @since 2.8
     981 * @since 2.8.0
    982982 *
    983983 * @param mixed $index Sidebar name, id or number to check.
    984984 * @return bool true if the sidebar is in use, false otherwise.
     
    11241124/**
    11251125 * Output an arbitrary widget as a template tag
    11261126 *
    1127  * @since 2.8
     1127 * @since 2.8.0
    11281128 *
    11291129 * @param string $widget the widget's PHP class name (see default-widgets.php)
    11301130 * @param array $instance the widget's instance settings