[wp-trac] [WordPress Trac] #37523: Unit tests: Move classes out of includes/functions.php into their own file

WordPress Trac noreply at wordpress.org
Tue Aug 30 14:28:19 UTC 2016


#37523: Unit tests: Move classes out of includes/functions.php into their own file
-------------------------------------------------+-------------------------
 Reporter:  Frank Klein                          |       Owner:
     Type:  enhancement                          |  boonebgorges
 Priority:  normal                               |      Status:  assigned
Component:  Build/Test Tools                     |   Milestone:  4.7
 Severity:  normal                               |     Version:  4.6
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  testing                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):

 * status:  reopened => assigned


Comment:

 Thanks for the patches. I'm inclined to leave the `require_once`
 statements in functions.php, given that:

 - our main goal is backward compatibility, and functions.php is where the
 classes were previously loaded in the call graph
 - none of this will matter once we autoload classes; see #36335

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


More information about the wp-trac mailing list