[wp-trac] [WordPress Trac] #34432: Customizer subclasses can be broken out and remain BC

WordPress Trac noreply at wordpress.org
Sat Oct 24 18:02:29 UTC 2015


#34432: Customizer subclasses can be broken out and remain BC
----------------------------+-----------------
 Reporter:  wonderboymusic  |      Owner:
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  4.4
Component:  Customize       |    Version:  3.4
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------
 The Customizer base class files can load their implementations at the
 bottom of the file via `require_once()`, instead of moving everything and
 then loading everything in a manifest.

 The Customizer code can make sublime sense when you are looking at small
 implementations of the base classes by themselves, it is overwhelming to
 look at a multi-thousand-line file to debug a 100-line class.

 I waited to think this through after #33413. Loading them like this should
 be a non-event, but will make the code infinitely more readable.

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


More information about the wp-trac mailing list