[wp-trac] [WordPress Trac] #45185: Add space after colon for css consistency

WordPress Trac noreply at wordpress.org
Fri Jan 11 10:54:29 UTC 2019


#45185: Add space after colon for css consistency
----------------------------+-------------------------------
 Reporter:  nadim0988       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.1
Component:  Administration  |     Version:
 Severity:  minor           |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------
Changes (by afercia):

 * focuses:  administration, coding-standards => coding-standards
 * component:  Menus => Administration


Comment:

 In [attachment:"45185.diff"] Based on the CSS coding standards
 https://make.wordpress.org/core/handbook/best-practices/coding-
 standards/css :

 - properties should be followed by a colon and a space.
 - media queries shouldn't use spaces within parenthesis
 - the `content` property should use double quotes
 - indentation: fixes spaces instead of tabs and mixed spaces / tabs
 - fixes a few double space occurrences

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


More information about the wp-trac mailing list