From 1b78e495b2a816a3148cf3423cfed96adce384b2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Aug 2020 10:39:12 +0000 Subject: [PATCH] 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. Fixes #51075. git-svn-id: https://develop.svn.wordpress.org/trunk@48832 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index efb682ad12..378e37fe3d 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -996,10 +996,10 @@ function has_custom_logo( $blog_id = 0 ) { } /** - * Returns a custom logo, linked to home when on another page. + * Returns a custom logo, linked to home unless the theme supports removing the link on the home page. * * @since 4.5.0 - * @since 5.5.0 Removed the link on the home page. + * @since 5.5.0 Added option to remove the link on the home page with `unlink-homepage-logo` theme support. * * @param int $blog_id Optional. ID of the blog in question. Default is the ID of the current blog. * @return string Custom logo markup. @@ -1098,7 +1098,7 @@ function get_custom_logo( $blog_id = 0 ) { } /** - * Displays a custom logo, linked to home when on another page. + * Displays a custom logo, linked to home unless the theme supports removing the link on the home page. * * @since 4.5.0 *