[wp-trac] [WordPress Trac] #36332: Custom Logo: PHP warnings in add_theme_support

WordPress Trac noreply at wordpress.org
Wed Mar 30 02:22:01 UTC 2016

#36332: Custom Logo: PHP warnings in add_theme_support
 Reporter:  obenland          |       Owner:  obenland
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  Themes            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  commit has-patch  |     Focuses:
Changes (by jorbin):

 * status:  accepted => closed
 * resolution:   => fixed


 In [changeset:"37092"]:
 #!CommitTicketReference repository="" revision="37092"
 Prevent PHP Warnings when using Custom Logo with no params

 The parsing of defaults assumes that $args will be an array. This solves
 it for Custom Logo the same way it is solved for custom-header and custom-

 Props obenland.
 Fixes #36332.

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

More information about the wp-trac mailing list