Changeset 52552 for branches/5.9/src/wp-includes/blocks/post-content.php
- Timestamp:
- 01/11/2022 03:12:21 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9/src/wp-includes/blocks/post-content.php
r52434 r52552 47 47 // We force this behavior by omitting the third argument (post ID) from the `get_the_content`. 48 48 $content = get_the_content( null, false ); 49 // Check for nextpage to display page links for paginated posts. 50 if ( has_block( 'core/nextpage' ) ) { 51 $content .= wp_link_pages( array( 'echo' => 0 ) ); 52 } 53 49 54 /** This filter is documented in wp-includes/post-template.php */ 50 55 $content = apply_filters( 'the_content', str_replace( ']]>', ']]>', $content ) );
Note: See TracChangeset
for help on using the changeset viewer.