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/general-template.php

    r37922 r37985  
    648648        case 'home' : // DEPRECATED
    649649        case 'siteurl' : // DEPRECATED
    650             _deprecated_argument( __FUNCTION__, '2.2', sprintf(
     650            _deprecated_argument( __FUNCTION__, '2.2.0', sprintf(
    651651                /* translators: 1: 'siteurl'/'home' argument, 2: bloginfo() function name, 3: 'url' argument */
    652652                __( 'The %1$s option is deprecated for the family of %2$s functions. Use the %3$s option instead.' ),
     
    721721            break;
    722722        case 'text_direction':
    723             _deprecated_argument( __FUNCTION__, '2.2', sprintf(
     723            _deprecated_argument( __FUNCTION__, '2.2.0', sprintf(
    724724                /* translators: 1: 'text_direction' argument, 2: bloginfo() function name, 3: is_rtl() function name */
    725725                __( 'The %1$s option is deprecated for the family of %2$s functions. Use the %3$s function instead.' ),
Note: See TracChangeset for help on using the changeset viewer.