WordPress.org

Make WordPress Core

Changeset 36725


Ignore:
Timestamp:
02/26/2016 09:15:45 AM (3 years ago)
Author:
DrewAPicture
Message:

Docs: Add some missing @param notations to various DocBlocks in wp-includes/ms-deprecated.php.

See #32246.

File:
1 edited

Legend:

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

    r36724 r36725  
    123123 * @deprecated 3.0.0 Use get_user_by()
    124124 * @see get_user_by()
     125 *
     126 * @param string $username Username.
    125127 */
    126128function get_user_details( $username ) {
     
    135137 * @deprecated 3.0.0 Use clean_post_cache()
    136138 * @see clean_post_cache()
     139 *
     140 * @param int $post_id Post ID.
    137141 */
    138142function clear_global_post_cache( $post_id ) {
     
    174178 * @deprecated 3.0.0 Use wp_get_sites()
    175179 * @see wp_get_sites()
     180 *
     181 * @param int    $start      Optional. Offset for retrieving the blog list. Default 0.
     182 * @param int    $num        Optional. Number of blogs to list. Default 10.
     183 * @param string $deprecated Unused.
    176184 */
    177185function get_blog_list( $start = 0, $num = 10, $deprecated = '' ) {
     
    204212 * @deprecated 3.0.0
    205213 *
     214 * @param int  $num     Optional. Number of activate blogs to retrieve. Default 10.
     215 * @param bool $display Optional. Whether or not to display the most active blogs list. Default true.
    206216 * @return array List of "most active" sites.
    207217 */
     
    255265 * @see wp_redirect()
    256266 *
    257  * @param string $url
     267 * @param string $url Optional. Redirect URL. Default empty.
    258268 */
    259269function wpmu_admin_do_redirect( $url = '' ) {
     
    294304 * @see add_query_arg()
    295305 *
    296  * @param string $url
     306 * @param string $url Optional. Redirect URL. Default empty.
    297307 * @return string
    298308 */
Note: See TracChangeset for help on using the changeset viewer.