Make WordPress Core


Ignore:
Timestamp:
07/06/2016 12:39:01 PM (8 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/comment-template.php

    r37655 r37985  
    826826        _deprecated_argument( __FUNCTION__, '0.72' );
    827827    if ( !empty( $deprecated_2 ) )
    828         _deprecated_argument( __FUNCTION__, '1.3' );
     828        _deprecated_argument( __FUNCTION__, '1.3.0' );
    829829    echo esc_url( get_comments_link() );
    830830}
     
    871871function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) {
    872872    if ( ! empty( $deprecated ) ) {
    873         _deprecated_argument( __FUNCTION__, '1.3' );
     873        _deprecated_argument( __FUNCTION__, '1.3.0' );
    874874    }
    875875    echo get_comments_number_text( $zero, $one, $more );
     
    11121112function trackback_url( $deprecated_echo = true ) {
    11131113    if ( true !== $deprecated_echo ) {
    1114         _deprecated_argument( __FUNCTION__, '2.5',
     1114        _deprecated_argument( __FUNCTION__, '2.5.0',
    11151115            /* translators: %s: get_trackback_url() */
    11161116            sprintf( __( 'Use %s instead if you do not want the value echoed.' ),
     
    11381138function trackback_rdf( $deprecated = '' ) {
    11391139    if ( ! empty( $deprecated ) ) {
    1140         _deprecated_argument( __FUNCTION__, '2.5' );
     1140        _deprecated_argument( __FUNCTION__, '2.5.0' );
    11411141    }
    11421142
Note: See TracChangeset for help on using the changeset viewer.