Make WordPress Core


Ignore:
Timestamp:
12/30/2009 04:23:39 PM (14 years ago)
Author:
westi
Message:

Updates and improvements to _depreceated_argument. See #11386 props nacin.

File:
1 edited

Legend:

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

    r12548 r12584  
    169169 * @return string
    170170 */
    171 function post_permalink($post_id = 0, $deprecated = '') {
     171function post_permalink( $post_id = 0, $deprecated = '' ) {
     172    if ( !empty( $deprecated ) )
     173        _deprecated_argument( __FUNCTION__, '0.0' );
     174
    172175    return get_permalink($post_id);
    173176}
Note: See TracChangeset for help on using the changeset viewer.