[wp-trac] [WordPress Trac] #55751: get_the_posts_navigation() is using incorrect functions to output navigation links

WordPress Trac noreply at wordpress.org
Thu Dec 29 19:58:03 UTC 2022


#55751: get_the_posts_navigation() is using incorrect functions to output
navigation links
--------------------------------------+-----------------------
 Reporter:  jongycastillo             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.2
Component:  Posts, Post Types         |     Version:  5.9.3
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by geisthanen):

 Replying to [comment:10 SergeyBiryukov]:
 > Hi there, welcome to WordPress Trac! Thanks for the ticket and the PRs.
 >
 > This is indeed super confusing. It makes some sense in theory, but I'm
 still trying to wrap my head around what would be the expected result for
 the code in comment:7, and I'm not 100% sure yet that there is no core bug
 there.
 >
 > Moving to the milestone to add some unit tests and maybe improve
 documenation for these functions and filters.


 @SergeyBiryukov as you were having doubts based on your comment above,
 I've added some tests exclusively for the filter:

 https://github.com/WordPress/wordpress-develop/pull/3808

 I would really appreciate your review and feedback :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55751#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list