[wp-trac] [WordPress Trac] #63920: get_adjacent_post() has a misplaced check for WP_Error
WordPress Trac
noreply at wordpress.org
Wed Sep 3 17:13:51 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: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
The function calls `is_wp_error( $term_array )` after `$term_array =
array_map( 'intval', $term_array )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63920>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list