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

WordPress Trac noreply at wordpress.org
Fri Dec 11 06:19:39 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              |  Resolution:
 Keywords:  close 2nd-opinion   |     Focuses:
--------------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> [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.

New description:

 [34981] 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#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list