[wp-trac] [WordPress Trac] #55051: WP_Customize_Nav_Menu_Item_Setting class needs hooks/filters parity for preview and update

WordPress Trac noreply at wordpress.org
Thu Feb 3 02:53:50 UTC 2022


#55051: WP_Customize_Nav_Menu_Item_Setting class needs hooks/filters parity for
preview and update
----------------------------+---------------------
 Reporter:  helgatheviking  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  6.0
Component:  Customize       |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+---------------------
Changes (by dlh):

 * keywords:   => needs-patch
 * component:  General => Customize
 * milestone:  Awaiting Review => 6.0


Comment:

 Thanks for the report! I agree that it's inconsistent that the hooks don't
 fire in the overridden methods. I also, though, observe that the same
 inconsistency seems to exist in all of `WP_Customize_Setting`'s child
 classes, e.g. `WP_Customize_Custom_CSS_Setting::update()`, so perhaps
 there was some purpose behind it. Worth investigating!

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


More information about the wp-trac mailing list