[wp-trac] [WordPress Trac] #60532: Add a `pre_set_object_terms` action
WordPress Trac
noreply at wordpress.org
Tue Oct 29 06:58:35 UTC 2024
#60532: Add a `pre_set_object_terms` action
--------------------------------------+------------------------------
Reporter: davidbaumwald | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 6.5
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+------------------------------
Comment (by geekofshire):
Replying to [comment:5 apermo]:
> @geekofshire @sagarsavani7979 Imho the position of the filter is broken
as it is in the patch and PR. The position is too low, `$object_id` is
already used before to fill `$old_tt_ids`. So under normal conditions
`$old_tt_ids` will have the wrong content if `$append` is `false`
>
> Also see: https://github.com/WordPress/wordpress-
develop/pull/7660#discussion_r1820132363
Thank you for the feedback! I’ve made adjustments based on your comments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60532#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list