mirror of
git://develop.git.wordpress.org/
synced 2025-02-26 09:33:46 +01:00
Correct references to post-template.php in the inline docs.
props softmodeling. fixes #29188. git-svn-id: https://develop.svn.wordpress.org/trunk@29469 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fcda873946
commit
947ca94071
@ -2202,10 +2202,10 @@ function do_trackbacks($post_id) {
|
||||
}
|
||||
|
||||
if ( empty($post->post_excerpt) ) {
|
||||
/** This filter is documented in wp-admin/post-template.php */
|
||||
/** This filter is documented in wp-includes/post-template.php */
|
||||
$excerpt = apply_filters( 'the_content', $post->post_content, $post->ID );
|
||||
} else {
|
||||
/** This filter is documented in wp-admin/post-template.php */
|
||||
/** This filter is documented in wp-includes/post-template.php */
|
||||
$excerpt = apply_filters( 'the_excerpt', $post->post_excerpt );
|
||||
}
|
||||
|
||||
|
@ -184,7 +184,7 @@ function get_the_content_feed($feed_type = null) {
|
||||
if ( !$feed_type )
|
||||
$feed_type = get_default_feed();
|
||||
|
||||
/** This filter is documented in wp-admin/post-template.php */
|
||||
/** This filter is documented in wp-includes/post-template.php */
|
||||
$content = apply_filters( 'the_content', get_the_content() );
|
||||
$content = str_replace(']]>', ']]>', $content);
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user