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/ms-blogs.php

    r37929 r37985  
    730730
    731731    if ( null !== $deprecated  )
    732         _deprecated_argument( __FUNCTION__, '3.1' );
     732        _deprecated_argument( __FUNCTION__, '3.1.0' );
    733733
    734734    if ( get_current_blog_id() == $id )
     
    964964
    965965    if ( null !== $deprecated  )
    966         _deprecated_argument( __FUNCTION__, '3.1' );
     966        _deprecated_argument( __FUNCTION__, '3.1.0' );
    967967
    968968    if ( ! in_array( $pref, array( 'site_id', 'domain', 'path', 'registered', 'last_updated', 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id') ) )
Note: See TracChangeset for help on using the changeset viewer.