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. Built from https://develop.svn.wordpress.org/trunk@48832 git-svn-id: http://core.svn.wordpress.org/trunk@48594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
53399672b8
commit
ebf80f8e01
|
@ -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 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.
|
* @param int $blog_id Optional. ID of the blog in question. Default is the ID of the current blog.
|
||||||
* @return string Custom logo markup.
|
* @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
|
* @since 4.5.0
|
||||||
*
|
*
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-48831';
|
$wp_version = '5.6-alpha-48832';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue