[wp-trac] [WordPress Trac] #49222: Coding Standards fixes for WP 5.4

WordPress Trac noreply at wordpress.org
Sat Jan 18 00:25:11 UTC 2020


#49222: Coding Standards fixes for WP 5.4
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.4
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47083" 47083]:
 {{{
 #!CommitTicketReference repository="" revision="47083"
 Coding Standards: Remove unnecessary `// phpcs:ignore` instances in
 `WP_Debug_Data`.

 `WP_Theme::__get()` accepts `Name`, `Version`, and `Author` theme
 properties in lower case too.

 Additionally, remove one short ternary instance, not allowed per the
 coding standards.

 See #49222.
 }}}

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


More information about the wp-trac mailing list