From 84ef82416643ac18a421142fd03c768466b9cbd4 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 3 Aug 2017 14:45:58 +0000 Subject: [PATCH] Docs: Add a missing docblock for the `the_content_rss` filter. See #38462, #41017 git-svn-id: https://develop.svn.wordpress.org/trunk@41216 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/deprecated.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 1b93fbddd1..780c2c7ddc 100644 --- a/src/wp-includes/deprecated.php +++ b/src/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;