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

WordPress Trac noreply at wordpress.org
Mon Aug 10 16:24:13 UTC 2015


#33325: Rearrange function params in Site Icon API
----------------------------+-----------------------
 Reporter:  obenland        |      Owner:
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  4.3
Component:  Customize       |    Version:  trunk
 Severity:  normal          |   Keywords:  has-patch
  Focuses:                  |
----------------------------+-----------------------
 Having to pass `null` as the first parameter if a site icon for the
 current blog is requested is not very elegant. Let's put it at the end, as
 it's even more likely that a fallback URL will be passed that a blog id.

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


More information about the wp-trac mailing list