From 4cdbe950e9ac23e26f8bed99d826daee4e4d1b6a Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 3 Aug 2017 14:46:43 +0000 Subject: [PATCH] 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 --- wp-includes/deprecated.php | 8 ++++++++ wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 1b93fbddd1..780c2c7ddc 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 73cefb0556..2054dec83b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.