WordPress.org

Make WordPress Core

Ticket #18561: the_rest.diff

File the_rest.diff, 538 bytes (added by helenyhou, 3 years ago)

What I was thinking, except with the cleverness of johnjamesjacoby

  • post-template.php

     
    241241} 
    242242 
    243243/** 
     244 * Display the rest of a post's extra content. 
     245 * 
     246 * @since 3.3.0 
     247 * @uses do_action() Does before_the_rest and after_the_rest in addition to the_rest. 
     248 */ 
     249function the_rest() { 
     250        do_action( 'before_the_rest' ); 
     251        do_action( 'the_rest' ); 
     252        do_action( 'after_the_rest' ); 
     253} 
     254 
     255/** 
    244256 * Display the post excerpt. 
    245257 * 
    246258 * @since 0.71