[wp-trac] [WordPress Trac] #59241: get_the_posts_navigation wrong functions called for prev and next links

WordPress Trac noreply at wordpress.org
Tue Aug 29 18:38:27 UTC 2023


#59241: get_the_posts_navigation wrong functions called for prev and next links
--------------------------------+-----------------------------
 Reporter:  valentinwebdev2019  |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Posts, Post Types   |    Version:  6.3.1
 Severity:  normal              |   Keywords:  needs-patch
  Focuses:                      |
--------------------------------+-----------------------------
 wp-includes\link-template.php:2858
 get_the_posts_navigation function

 For next link called get_previous_posts_link functions and for previous
 link called get_next_posts_link function

 $next_link = get_previous_posts_link( $args['next_text'] );
 $prev_link = get_next_posts_link( $args['prev_text'] );

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59241>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list