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

    r37863 r37985  
    10481048function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) {
    10491049    if ( -1 == $action )
    1050         _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2' );
     1050        _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2.0' );
    10511051
    10521052    $adminurl = strtolower(admin_url());
     
    13491349function wp_notify_postauthor( $comment_id, $deprecated = null ) {
    13501350    if ( null !== $deprecated ) {
    1351         _deprecated_argument( __FUNCTION__, '3.8' );
     1351        _deprecated_argument( __FUNCTION__, '3.8.0' );
    13521352    }
    13531353
Note: See TracChangeset for help on using the changeset viewer.