[wp-trac] [WordPress Trac] #44343: Add filter hook for parent dropdown arguments

WordPress Trac noreply at wordpress.org
Mon Jul 21 18:16:17 UTC 2025


#44343: Add filter hook for parent dropdown arguments
------------------------------+------------------------------
 Reporter:  obiplabon         |       Owner:  johnjamesjacoby
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  6.9
Component:  Taxonomy          |     Version:  4.4
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+------------------------------
Changes (by johnjamesjacoby):

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


Comment:

 In [changeset:"60492" 60492]:
 {{{
 #!CommitTicketReference repository="" revision="60492"
 Taxonomy: Filter the arguments passed into `wp_dropdown_categories()` in
 the Categories post edit metabox AJAX request output.

 This commit fixes a bug that caused differing dropdown results between
 AJAX & non-AJAX output, when using the
 `post_edit_category_parent_dropdown_args` hook.

 (That hook is documented inside of the `post_categories_meta_box()`
 function, introduced via r33682 and #33026.)

 Props obiplabon, birgire.

 Fixes #44343.
 }}}

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


More information about the wp-trac mailing list