[wp-trac] [WordPress Trac] #33324: Rename WP_New_Menu_Customize_Control

WordPress Trac noreply at wordpress.org
Mon Aug 10 15:59:01 UTC 2015


#33324: Rename WP_New_Menu_Customize_Control
--------------------------+-----------------------
 Reporter:  DrewAPicture  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.3
Component:  Customize     |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------
 In [32806], the `WP_New_Menu_Customize_Control` class was introduced. We
 should rename it to follow the `WP_Customize_*` convention that seems to
 be the standard for Customizer classes.

 `WP_New_Menu_Customize_Control` => `WP_Customize_New_Menu_Control`

 Basically all Customizer classes are named this way, save for two outliers
 introduced in 3.9 that we can't do anything about now anyway:
 `WP_Widget_Area_Customize_Control` and `WP_Widget_Form_Customize_Control`.

 Related: #32576

 Patch attached.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33324>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list