[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 Dec 24 05:47:50 UTC 2025
#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 | Focuses:
--------------------------------------+------------------------
Changes (by westonruter):
* keywords: has-patch changes-requested has-unit-tests => has-patch has-
unit-tests
Comment:
@staurand @dilipbheda @abcd95 I've further iterated on the PR a bit to
handle a possible back-compat breakage where if someone had supplied
`'object_ids' => false`. Now it will ensure no terms are returned as
before.
Please review.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63256#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list