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/link-template.php

    r12598 r12680  
    171171function post_permalink( $post_id = 0, $deprecated = '' ) {
    172172    if ( !empty( $deprecated ) )
    173         _deprecated_argument( __FUNCTION__, '0.0' );
     173        _deprecated_argument( __FUNCTION__, '1.3' );
    174174
    175175    return get_permalink($post_id);
Note: See TracChangeset for help on using the changeset viewer.