[wp-trac] [WordPress Trac] #63920: get_adjacent_post() has a misplaced check for WP_Error

WordPress Trac noreply at wordpress.org
Fri Sep 12 08:22:42 UTC 2025


#63920: get_adjacent_post() has a misplaced check for WP_Error
-------------------------------------------------+-------------------------
 Reporter:  kitchin                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.9
Component:  Posts, Post Types                    |     Version:  4.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by pmbaldha):

 @kitchin Thanks for reporting the issue and creating the patch for it. Can
 you please give us a test case so we can test it? You can refer to
 https://make.wordpress.org/test/2025/05/15/building-the-testing-use-case/.

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


More information about the wp-trac mailing list