Make WordPress Core


Ignore:
Timestamp:
12/24/2009 11:12:04 AM (15 years ago)
Author:
westi
Message:

Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.

File:
1 edited

Legend:

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

    r12513 r12537  
    247247 */
    248248function get_the_excerpt($deprecated = '') {
     249    if ( !empty( $deprecated ) )
     250        _deprecated_argument(__FUNCTION__, 'deprecated', '2.3');
     251
    249252    global $post;
    250253    $output = $post->post_excerpt;
Note: See TracChangeset for help on using the changeset viewer.