[wp-trac] [WordPress Trac] #37861: Renaming of class files for consistency

WordPress Trac noreply at wordpress.org
Sun Aug 28 20:45:08 UTC 2016


#37861: Renaming of class files for consistency
----------------------------+-----------------------------
 Reporter:  afragen         |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Bootstrap/Load  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 I'm not sure how relevant this is in general, but with #36335 shouldn't we
 at least follow the naming convention for the few class files left?

 A quick glance shows

 `wp-includes/class.wp-dependencies.php` -> `wp-includes/class-wp-
 dependencies.php`
 `wp-includes/class.wp-scripts.php` -> `wp-includes/class-wp-scripts.php`
 `wp-includes/class.wp-styles.php` -> `wp-includes/class-wp-styles.php`

 I'm not certain what type of breakage may occur, unless someone is loading
 these independently of core.

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


More information about the wp-trac mailing list