[wp-trac] [WordPress Trac] #63256: Unnecessary array_map() call in get_terms() when object_ids is not set

WordPress Trac noreply at wordpress.org
Wed Mar 11 16:27:09 UTC 2026


#63256: Unnecessary array_map() call in get_terms() when object_ids is not set
-------------------------------------------------+-------------------------
 Reporter:  dilipbheda                           |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  lowest                               |   Milestone:  7.0
Component:  Taxonomy                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by juanmaguitar):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     testing


Comment:

 From today's bug scrub

 It seems https://github.com/WordPress/wordpress-develop/pull/10634 adds
 the required tests but also its own implementation of the solution
 suggested in https://github.com/WordPress/wordpress-develop/pull/8668

 @westonruter as the person who added latest commits to
 https://github.com/WordPress/wordpress-develop/pull/10634, do you think we
 can move forward with the patch in time for WP 7.0 RC1

 Also pinging @audrasjb as the owner of this ticket

 I'm also adding "needs-testing" so the patch can be confirmed

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


More information about the wp-trac mailing list