[wp-trac] [WordPress Trac] #36618: Move WP_Upgrader and WP_Upgrader_Skin subclasses into separate files
WordPress Trac
noreply at wordpress.org
Fri Apr 22 03:48:44 UTC 2016
#36618: Move WP_Upgrader and WP_Upgrader_Skin subclasses into separate files
-----------------------------+------------------
Reporter: ocean90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+------------------
Comment (by rmccue):
+100. The prefix doesn't matter too much, as they have a common suffix. (I
have a autoloader written that already handles that. :) )
Splitting it would be pretty useful, although has the potential to break
currently if someone is loading the file directly. That could be fixed by
using an autoloader (#36335) to ensure the class is available regardless
of what files are loaded manually.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36618#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list