Docs: Add a missing docblock for the `the_content_rss` filter.

See #38462, #41017

Built from https://develop.svn.wordpress.org/trunk@41216


git-svn-id: http://core.svn.wordpress.org/trunk@41056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2017-08-03 14:46:43 +00:00
parent d510413811
commit 4cdbe950e9
2 changed files with 9 additions and 1 deletions

View File

@ -1652,6 +1652,14 @@ 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.0', 'the_content_feed()' );
$content = get_the_content($more_link_text, $stripteaser);
/**
* Filters the post content in the context of an RSS feed.
*
* @since 0.71
*
* @param string $content Content of the current post.
*/
$content = apply_filters('the_content_rss', $content);
if ( $cut && !$encode_html )
$encode_html = 2;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41215';
$wp_version = '4.9-alpha-41216';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.