Make WordPress Core


Ignore:
Timestamp:
08/01/2017 08:43:25 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Reduce confusion in @since MU notationss by indicating the WP version (3.0.0) the code was merged into core while retaining the original context.

Props sathyapulse.
Fixes #41509.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-blogs.php

    r40352 r41200  
    66 * @package WordPress
    77 * @subpackage Multisite
    8  * @since MU
     8 * @since MU (3.0.0)
    99 */
    1010
     
    1212 * Update the last_updated field for the current site.
    1313 *
    14  * @since MU
     14 * @since MU (3.0.0)
    1515 *
    1616 * @global wpdb $wpdb WordPress database abstraction object.
     
    2323     * Fires after the blog details are updated.
    2424     *
    25      * @since MU
     25     * @since MU (3.0.0)
    2626     *
    2727     * @param int $blog_id Site ID.
     
    3333 * Get a full blog URL, given a blog id.
    3434 *
    35  * @since MU
     35 * @since MU (3.0.0)
    3636 *
    3737 * @param int $blog_id Blog ID
     
    5454 * Get a full blog URL, given a blog name.
    5555 *
    56  * @since MU
     56 * @since MU (3.0.0)
    5757 *
    5858 * @param string $blogname The (subdomain or directory) name
     
    7575 * Retrieves a sites ID given its (subdomain or directory) slug.
    7676 *
    77  * @since MU
     77 * @since MU (3.0.0)
    7878 * @since 4.7.0 Converted to use get_sites().
    7979 *
     
    110110 * Retrieve the details for a blog from the blogs table and blog options.
    111111 *
    112  * @since MU
     112 * @since MU (3.0.0)
    113113 *
    114114 * @global wpdb $wpdb WordPress database abstraction object.
     
    240240     * Filters a blog's details.
    241241     *
    242      * @since MU
     242     * @since MU (3.0.0)
    243243     * @deprecated 4.7.0 Use site_details
    244244     *
     
    258258 * Clear the blog details cache.
    259259 *
    260  * @since MU
     260 * @since MU (3.0.0)
    261261 *
    262262 * @param int $blog_id Optional. Blog ID. Defaults to current blog.
     
    295295 * Update the details for a blog. Updates the blogs table for a given blog id.
    296296 *
    297  * @since MU
     297 * @since MU (3.0.0)
    298298 *
    299299 * @global wpdb $wpdb WordPress database abstraction object.
     
    342342             * Fires when the 'spam' status is added to a blog.
    343343             *
    344              * @since MU
     344             * @since MU (3.0.0)
    345345             *
    346346             * @param int $blog_id Blog ID.
     
    351351             * Fires when the 'spam' status is removed from a blog.
    352352             *
    353              * @since MU
     353             * @since MU (3.0.0)
    354354             *
    355355             * @param int $blog_id Blog ID.
     
    388388             * Fires when the 'archived' status is added to a blog.
    389389             *
    390              * @since MU
     390             * @since MU (3.0.0)
    391391             *
    392392             * @param int $blog_id Blog ID.
     
    397397             * Fires when the 'archived' status is removed from a blog.
    398398             *
    399              * @since MU
     399             * @since MU (3.0.0)
    400400             *
    401401             * @param int $blog_id Blog ID.
     
    649649 * If the option was serialized then it will be unserialized when it is returned.
    650650 *
    651  * @since MU
     651 * @since MU (3.0.0)
    652652 *
    653653 * @param int    $id      A blog ID. Can be null to refer to the current blog.
     
    694694 * options the same as the ones which are protected.
    695695 *
    696  * @since MU
     696 * @since MU (3.0.0)
    697697 *
    698698 * @param int    $id     A blog ID. Can be null to refer to the current blog.
     
    720720 * Removes option by name for a given blog id. Prevents removal of protected WordPress options.
    721721 *
    722  * @since MU
     722 * @since MU (3.0.0)
    723723 *
    724724 * @param int    $id     A blog ID. Can be null to refer to the current blog.
     
    745745 * Update an option for a particular blog.
    746746 *
    747  * @since MU
     747 * @since MU (3.0.0)
    748748 *
    749749 * @param int    $id         The blog id.
     
    780780 *
    781781 * @see restore_current_blog()
    782  * @since MU
     782 * @since MU (3.0.0)
    783783 *
    784784 * @global wpdb            $wpdb
     
    812812         * Fires when the blog is switched.
    813813         *
    814          * @since MU
     814         * @since MU (3.0.0)
    815815         *
    816816         * @param int $new_blog New blog ID.
     
    866866 *
    867867 * @see switch_to_blog()
    868  * @since MU
     868 * @since MU (3.0.0)
    869869 *
    870870 * @global wpdb            $wpdb
     
    954954 * Check if a particular blog is archived.
    955955 *
    956  * @since MU
     956 * @since MU (3.0.0)
    957957 *
    958958 * @param int $id The blog id
     
    966966 * Update the 'archived' status of a particular blog.
    967967 *
    968  * @since MU
     968 * @since MU (3.0.0)
    969969 *
    970970 * @param int    $id       The blog id
     
    980980 * Update a blog details field.
    981981 *
    982  * @since MU
     982 * @since MU (3.0.0)
    983983 *
    984984 * @global wpdb $wpdb WordPress database abstraction object.
     
    10421042         * Fires after the current blog's 'public' setting is updated.
    10431043         *
    1044          * @since MU
     1044         * @since MU (3.0.0)
    10451045         *
    10461046         * @param int    $blog_id Blog ID.
     
    10561056 * Get a blog details field.
    10571057 *
    1058  * @since MU
     1058 * @since MU (3.0.0)
    10591059 *
    10601060 * @global wpdb $wpdb WordPress database abstraction object.
     
    10771077 * Get a list of most recently updated blogs.
    10781078 *
    1079  * @since MU
     1079 * @since MU (3.0.0)
    10801080 *
    10811081 * @global wpdb $wpdb WordPress database abstraction object.
Note: See TracChangeset for help on using the changeset viewer.