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

WordPress Trac noreply at wordpress.org
Fri Sep 12 21:16:57 UTC 2025


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

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60733" 60733]:
 {{{
 #!CommitTicketReference repository="" revision="60733"
 Posts, Post Types: Fix placement of `WP_Error` check in
 `get_adjacent_post()`.

 Props kitchin, mindctrl, westonruter, SirLouen, SergeyBiryukov, pmbaldha.
 Fixes #63920.
 }}}

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


More information about the wp-trac mailing list