mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Remove an extra argument passed to get_the_content() in the deprecated the_content_rss().
props rlerdorf. see #24210. git-svn-id: http://core.svn.wordpress.org/trunk@24128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2ea564da8b
commit
83faec0a8f
@ -1691,8 +1691,6 @@ function the_author_ID() {
|
||||
* @subpackage Feed
|
||||
* @since 0.71
|
||||
* @uses apply_filters() Calls 'the_content_rss' on the content before processing.
|
||||
* @see get_the_content() For the $more_link_text, $stripteaser, and $more_file
|
||||
* parameters.
|
||||
*
|
||||
* @deprecated 2.9.0
|
||||
* @deprecated Use the_content_feed()
|
||||
@ -1706,7 +1704,7 @@ function the_author_ID() {
|
||||
*/
|
||||
function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
|
||||
_deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' );
|
||||
$content = get_the_content($more_link_text, $stripteaser, $more_file);
|
||||
$content = get_the_content($more_link_text, $stripteaser);
|
||||
$content = apply_filters('the_content_rss', $content);
|
||||
if ( $cut && !$encode_html )
|
||||
$encode_html = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user