Changeset 56740
- Timestamp:
- 09/28/2023 09:24:35 PM (19 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r56548 r56740 2512 2512 */ 2513 2513 function next_posts( $max_page = 0, $display = true ) { 2514 $output = esc_url( get_next_posts_page_link( $max_page ) ); 2514 $link = get_next_posts_page_link( $max_page ); 2515 $output = $link ? esc_url( $link ) : ''; 2515 2516 2516 2517 if ( $display ) {
Note: See TracChangeset
for help on using the changeset viewer.