WordPress.org

Make WordPress Core

Changeset 48833


Ignore:
Timestamp:
08/20/2020 10:40:40 AM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Update documentation for get_custom_logo() and the_custom_logo() to mention the unlink-homepage-logo theme feature.

Follow-up to [48039], [48283], [48749], [48757], [48758].

Props sabernhardt.
Merges [48832] to the 5.5 branch.
Fixes #51075.

Location:
branches/5.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5

  • branches/5.5/src/wp-includes/general-template.php

    r48815 r48833  
    997997
    998998/**
    999  * Returns a custom logo, linked to home when on another page.
     999 * Returns a custom logo, linked to home unless the theme supports removing the link on the home page.
    10001000 *
    10011001 * @since 4.5.0
    1002  * @since 5.5.0 Removed the link on the home page.
     1002 * @since 5.5.0 Added option to remove the link on the home page with `unlink-homepage-logo` theme support.
    10031003 *
    10041004 * @param int $blog_id Optional. ID of the blog in question. Default is the ID of the current blog.
     
    10991099
    11001100/**
    1101  * Displays a custom logo, linked to home when on another page.
     1101 * Displays a custom logo, linked to home unless the theme supports removing the link on the home page.
    11021102 *
    11031103 * @since 4.5.0
Note: See TracChangeset for help on using the changeset viewer.