[wp-trac] [WordPress Trac] #60922: get_custom_logo returns an empty link when no logo image is set
WordPress Trac
noreply at wordpress.org
Fri Apr 5 13:38:28 UTC 2024
#60922: get_custom_logo returns an empty link when no logo image is set
--------------------------+------------------------------
Reporter: afercia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: | Focuses: accessibility
--------------------------+------------------------------
Comment (by afercia):
Note: the custom logo id passed to the [https://github.com/WordPress
/wordpress-develop/blob/13fd2f829b01156174d1ca7ca2236eb9c7248e42/src/wp-
includes/general-template.php#L1092 get_custom_logo_image_attributes]
filter in this function is documented as `int` but it's actually a string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60922#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list