[wp-trac] [WordPress Trac] #51075: Update docs for custom logo functions

WordPress Trac noreply at wordpress.org
Thu May 13 12:23:12 UTC 2021


#51075: Update docs for custom logo functions
--------------------------+-----------------------------
 Reporter:  sabernhardt   |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5.1
Component:  Themes        |     Version:  5.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 joyously]:
 > I was answering a forum question about this, and noticed that the
 `add_theme_support` function does not mention the `unlink-homepage-logo`
 feature.

 Thanks for flagging that! `unlink-homepage-logo` is not a feature by
 itself, it's one of the values for the `custom-logo` feature, same as
 `width`, `height`, `flex-width`, `flex-height`, and `header-text`.

 It was mentioned in a `@since` note for 5.5.0, see [48749]:
 {{{
 @since 5.5.0 The `custom-logo` feature now also accepts 'unlink-homepage-
 logo'.
 }}}

 That said, the documentation for the
 [https://developer.wordpress.org/reference/functions/add_theme_support
 /#custom-logo Custom Logo] feature did indeed miss it. I've updated that
 section to include `unlink-homepage-logo`.

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


More information about the wp-trac mailing list