Make WordPress Core

Opened 8 years ago

Last modified 3 years ago

#37972 new defect (bug)

Image size (height/width) arguments are not used in output for custom_logo

Reported by: binarykitten's profile BinaryKitten Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6
Component: Themes Keywords: has-patch
Focuses: Cc:


when setting up the custom logo in theme support, it allows for height/width to be set.

When outputting, the default and only option for the output (via the_custom_logo() ) is "full" (as set in the get_custom_logo function call)

This is carry over from commit
[37135] for #36327

Change History (2)

This ticket was mentioned in Slack in #themereview by joyously. View the logs.

6 years ago

This ticket was mentioned in PR #1423 on WordPress/wordpress-develop by paulschreiber.

3 years ago

  • Keywords has-patch added

Fetch the height and width from the custom logo settings. If present, pass them in as a size parameter to wp_get_attachment_image().

Trac ticket:

Note: See TracTickets for help on using tickets.