[wp-trac] [WordPress Trac] #38422: Coding Style in TwentySeventeen
WordPress Trac
noreply at wordpress.org
Thu Oct 20 21:11:07 UTC 2016
#38422: Coding Style in TwentySeventeen
---------------------------+-----------------------
Reporter: aaroncampbell | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
---------------------------+-----------------------
I'd like to see this kind of variable assignment changed to a standard if.
{{{#!php
740 <= $width && $sizes = '(max-width: 706px) 89vw, (max-width: 767px)
82vw, 740px';
}}}
We don't use that style anywhere else.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38422>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list