[wp-trac] [WordPress Trac] #60922: get_custom_logo returns an empty link when no logo image is set

WordPress Trac noreply at wordpress.org
Wed May 29 07:49:14 UTC 2024


#60922: get_custom_logo returns an empty link when no logo image is set
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback needs-        |     Focuses:
  testing commit                                 |  accessibility
-------------------------------------------------+-------------------------

Comment (by afercia):

 Worth noting the editor allows to set the Site Logo image to be used as a
 Site Icon. See attached screenshot. Guess it, the Site Icon image ID is
 saved to a `site_icon` option. When deleting the image from the Media
 Library, the `site_icon` option is not deleted. Should this be addressed
 in a follow-up?
 Cc @SergeyBiryukov

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60922#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list