Make WordPress Core


Ignore:
Timestamp:
04/29/2013 01:42:56 PM (11 years ago)
Author:
nacin
Message:

Remove an extra argument passed to get_the_content() in the deprecated the_content_rss().

props rlerdorf.
see #24210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r24126 r24128  
    16921692 * @since 0.71
    16931693 * @uses apply_filters() Calls 'the_content_rss' on the content before processing.
    1694  * @see get_the_content() For the $more_link_text, $stripteaser, and $more_file
    1695  *      parameters.
    16961694 *
    16971695 * @deprecated 2.9.0
     
    17071705function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
    17081706    _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' );
    1709     $content = get_the_content($more_link_text, $stripteaser, $more_file);
     1707    $content = get_the_content($more_link_text, $stripteaser);
    17101708    $content = apply_filters('the_content_rss', $content);
    17111709    if ( $cut && !$encode_html )
Note: See TracChangeset for help on using the changeset viewer.