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/cron.php

    r37542 r37985  
    192192    // Previously this function took the arguments as discrete vars rather than an array like the rest of the API
    193193    if ( !is_array($args) ) {
    194         _deprecated_argument( __FUNCTION__, '3.0', __('This argument has changed to an array to match the behavior of the other cron functions.') );
     194        _deprecated_argument( __FUNCTION__, '3.0.0', __('This argument has changed to an array to match the behavior of the other cron functions.') );
    195195        $args = array_slice( func_get_args(), 1 );
    196196    }
Note: See TracChangeset for help on using the changeset viewer.