[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:48 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:11 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.
The "full" size option is the only default setting for the logo output.
This means the complete resolution of the uploaded logo is displayed
unless otherwise modified in the code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37972#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list