[wp-trac] [WordPress Trac] #37972: Image size (height/width) arguments are not used in output for custom_logo
WordPress Trac
noreply at wordpress.org
Fri Nov 29 07:27:34 UTC 2024
#37972: Image size (height/width) arguments are not used in output for custom_logo
--------------------------+------------------------------
Reporter: BinaryKitten | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by lockjawdev0):
Replying to [comment:10 lockjawdev0]:
> When setting up a custom logo in theme support, you can define specific
height and width dimensions. This ensures the logo displays with the
desired size, maintaining consistency across your website.
The function the_custom_logo() is used to output the custom logo on the
front end. By default, it retrieves the "full" size of the image as
specified in the get_custom_logo function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37972#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list