mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
d510413811
commit
4cdbe950e9
@ -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) {
|
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()' );
|
_deprecated_function( __FUNCTION__, '2.9.0', 'the_content_feed()' );
|
||||||
$content = get_the_content($more_link_text, $stripteaser);
|
$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);
|
$content = apply_filters('the_content_rss', $content);
|
||||||
if ( $cut && !$encode_html )
|
if ( $cut && !$encode_html )
|
||||||
$encode_html = 2;
|
$encode_html = 2;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user