[wp-trac] [WordPress Trac] #33325: Rearrange function params in Site Icon API

WordPress Trac noreply at wordpress.org
Mon Aug 10 18:29:39 UTC 2015


#33325: Rearrange function params in Site Icon API
----------------------------+-----------------------
 Reporter:  obenland        |       Owner:  obenland
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  4.3
Component:  Customize       |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------
Changes (by helen):

 * keywords:  has-patch commit => has-patch


Comment:

 We don't use `!!` anywhere else in PHP in core - we cast to bool, which is
 more readable anyway. Since we're in here, let's change that as well.

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


More information about the wp-trac mailing list