WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/06/2016 12:39:01 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core.

Props metodiew.
Fixes #36495.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/author-template.php

    r37949 r37985  
    2525
    2626    if ( !empty( $deprecated ) )
    27         _deprecated_argument( __FUNCTION__, '2.1' );
     27        _deprecated_argument( __FUNCTION__, '2.1.0' );
    2828
    2929    /**
     
    5858function the_author( $deprecated = '', $deprecated_echo = true ) {
    5959    if ( ! empty( $deprecated ) ) {
    60         _deprecated_argument( __FUNCTION__, '2.1' );
     60        _deprecated_argument( __FUNCTION__, '2.1.0' );
    6161    }
    6262
    6363    if ( true !== $deprecated_echo ) {
    64         _deprecated_argument( __FUNCTION__, '1.5',
     64        _deprecated_argument( __FUNCTION__, '1.5.0',
    6565            /* translators: %s: get_the_author() */
    6666            sprintf( __( 'Use %s instead if you do not want the value echoed.' ),
     
    278278function the_author_posts_link( $deprecated = '' ) {
    279279    if ( ! empty( $deprecated ) ) {
    280         _deprecated_argument( __FUNCTION__, '2.1' );
     280        _deprecated_argument( __FUNCTION__, '2.1.0' );
    281281    }
    282282    echo get_the_author_posts_link();
Note: See TracChangeset for help on using the changeset viewer.