WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/09/2010 10:03:55 AM (10 years ago)
Author:
westi
Message:

Add missing version numbers to _deprecated_argument() calls.
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r12657 r12680  
    505505 *
    506506 * @param string $deprecated Not Used
    507  * @param bool $deprecated Not Used
    508  */
    509 function comments_link( $deprecated = '', $deprecated = '' ) {
     507 * @param bool $deprecated_2 Not Used
     508 */
     509function comments_link( $deprecated = '', $deprecated_2 = '' ) {
    510510    if ( !empty( $deprecated ) )
    511         _deprecated_argument( __FUNCTION__, '0.0' );
     511        _deprecated_argument( __FUNCTION__, '0.72' );
     512    if ( !empty( $deprecated_2 ) )
     513        _deprecated_argument( __FUNCTION__, '1.3' );
    512514    echo get_comments_link();
    513515}
     
    554556
    555557    if ( !empty( $deprecated ) )
    556         _deprecated_argument( __FUNCTION__, '0.0' );
     558        _deprecated_argument( __FUNCTION__, '1.3' );
    557559
    558560    $number = get_comments_number($id);
Note: See TracChangeset for help on using the changeset viewer.