WordPress.org

Make WordPress Core

Changeset 23836


Ignore:
Timestamp:
03/28/13 05:59:18 (5 years ago)
Author:
markjaquith
Message:

Rename the_extra_content() to the_remaining_content().

fixes #23877.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/content-audio.php

    r23828 r23836  
    2727 
    2828    <div class="entry-content"> 
    29         <?php the_extra_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?> 
     29        <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?> 
    3030        <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?> 
    3131    </div><!-- .entry-content --> 
  • trunk/wp-content/themes/twentythirteen/content-image.php

    r23820 r23836  
    2525 
    2626    <div class="entry-content"> 
    27         <?php the_extra_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?> 
     27        <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?> 
    2828        <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?> 
    2929    </div><!-- .entry-content --> 
  • trunk/wp-content/themes/twentythirteen/content-video.php

    r23820 r23836  
    2525 
    2626    <div class="entry-content"> 
    27         <?php the_extra_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?> 
     27        <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?> 
    2828        <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?> 
    2929    </div><!-- .entry-content --> 
  • trunk/wp-includes/post-formats.php

    r23822 r23836  
    688688 * @return string 
    689689 */ 
    690 function get_the_extra_content( $more_link_text = null, $strip_teaser = false ) { 
     690function get_the_remaining_content( $more_link_text = null, $strip_teaser = false ) { 
    691691    global $more, $page, $format_pages, $multipage, $preview; 
    692692 
     
    753753 * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. 
    754754 */ 
    755 function the_extra_content( $more_link_text = null, $strip_teaser = false ) { 
    756     $extra = get_the_extra_content( $more_link_text, $strip_teaser ); 
     755function the_remaining_content( $more_link_text = null, $strip_teaser = false ) { 
     756    $extra = get_the_remaining_content( $more_link_text, $strip_teaser ); 
    757757 
    758758    remove_filter( 'the_content', 'post_formats_compat', 7 ); 
Note: See TracChangeset for help on using the changeset viewer.