[wp-trac] [WordPress Trac] #28400: Making if blocks more clear in customize.php

WordPress Trac noreply at wordpress.org
Thu May 29 15:10:50 UTC 2014


#28400: Making if blocks more clear in customize.php
----------------------------+-----------------------------
 Reporter:  BFTrick         |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 In `customize.php` there are two separate if statements that check for
 opposite values right after one another. Instead of using two if
 statements we should use an if / else. It's far more clear.

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


More information about the wp-trac mailing list