Make WordPress Core


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

    r37774 r37985  
    374374function get_the_excerpt( $post = null ) {
    375375        if ( is_bool( $post ) ) {
    376                 _deprecated_argument( __FUNCTION__, '2.3' );
     376                _deprecated_argument( __FUNCTION__, '2.3.0' );
    377377        }
    378378
    … …  
    14181418function the_attachment_link( $id = 0, $fullsize = false, $deprecated = false, $permalink = false ) {
    14191419        if ( !empty( $deprecated ) )
    1420                 _deprecated_argument( __FUNCTION__, '2.5' );
     1420                _deprecated_argument( __FUNCTION__, '2.5.0' );
    14211421
    14221422        if ( $fullsize )
    … …  
    17251725        if ( is_array( $type ) ) {
    17261726                $type = ! empty( $type['type'] ) ? $type['type']  : $type;
    1727                 _deprecated_argument( __FUNCTION__, '3.6' );
     1727                _deprecated_argument( __FUNCTION__, '3.6.0' );
    17281728        }
    17291729
Note: See TracChangeset for help on using the changeset viewer.