Make WordPress Core


Ignore:
Timestamp:
12/15/2010 11:27:38 AM (16 years ago)
Author:
nacin
Message:

Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-blogs.php

    r16900 r16938  
    424424
    425425        if ( null !== $deprecated  )
    426                 _deprecated_argument( __FUNCTION__, '3.1.0' );
     426                _deprecated_argument( __FUNCTION__, '3.1' );
    427427
    428428        switch_to_blog($id);
    … …  
    620620
    621621        if ( null !== $deprecated  )
    622                 _deprecated_argument( __FUNCTION__, '3.1.0' );
     622                _deprecated_argument( __FUNCTION__, '3.1' );
    623623
    624624        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.