[wp-trac] [WordPress Trac] #38557: Format for registering a default header image is ambiguous
WordPress Trac
noreply at wordpress.org
Sat Oct 29 19:27:06 UTC 2016
#38557: Format for registering a default header image is ambiguous
--------------------------+------------------------------
Reporter: bradyvercher | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by bradyvercher):
Default arguments are merged late, so [attachment:38557.2.diff] adds a
check to make sure `default-image` exists before doing the replacements to
prevent notices in themes that don't define a default header image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38557#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list