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

    r37979 r37985  
    647647function wp_get_http_headers( $url, $deprecated = false ) {
    648648    if ( !empty( $deprecated ) )
    649         _deprecated_argument( __FUNCTION__, '2.7' );
     649        _deprecated_argument( __FUNCTION__, '2.7.0' );
    650650
    651651    $response = wp_safe_remote_head( $url );
     
    21162116function wp_upload_bits( $name, $deprecated, $bits, $time = null ) {
    21172117    if ( !empty( $deprecated ) )
    2118         _deprecated_argument( __FUNCTION__, '2.0' );
     2118        _deprecated_argument( __FUNCTION__, '2.0.0' );
    21192119
    21202120    if ( empty( $name ) )
     
    38483848 *
    38493849 *     if ( ! empty( $deprecated ) ) {
    3850  *         _deprecated_argument( __FUNCTION__, '3.0' );
     3850 *         _deprecated_argument( __FUNCTION__, '3.0.0' );
    38513851 *     }
    38523852 *
Note: See TracChangeset for help on using the changeset viewer.