Make WordPress Core


Ignore:
Timestamp:
01/09/2010 10:03:55 AM (15 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/post-template.php

    r12664 r12680  
    904904function the_attachment_link( $id = 0, $fullsize = false, $deprecated = false, $permalink = false ) {
    905905    if ( !empty( $deprecated ) )
    906         _deprecated_argument( __FUNCTION__, '0.0' );
     906        _deprecated_argument( __FUNCTION__, '2.5' );
    907907
    908908    if ( $fullsize )
Note: See TracChangeset for help on using the changeset viewer.