[wp-trac] [WordPress Trac] #35004: All code should adhere to WordPress coding standards

WordPress Trac noreply at wordpress.org
Fri Dec 11 03:43:11 UTC 2015


#35004: All code should adhere to WordPress coding standards
--------------------------------+-----------------------------
 Reporter:  barry               |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  External Libraries  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 [34946] committed by @dd32 does not adhere to the WordPress
 [https://make.wordpress.org/core/handbook/best-practices/coding-
 standards/php/#naming-conventions Coding Standards]

 Specifically:

  Files should be named descriptively using lowercase letters. Hyphens
 should separate words.

 I understand this is an upstream library, but renaming the files and their
 includes is trivial and makes things much more consistent.  There is a
 precedent already as we do this with PHPMailer and probably other 3rd
 party libs.

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


More information about the wp-trac mailing list