Template: Pass `$blog_id` to the `get_custom_logo` filter.
Props achbed, juanfra. Fixes #36639. git-svn-id: https://develop.svn.wordpress.org/trunk@37645 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cc7d91f141
commit
9da22fc4d9
|
@ -903,10 +903,12 @@ function get_custom_logo( $blog_id = 0 ) {
|
||||||
* Filters the custom logo output.
|
* Filters the custom logo output.
|
||||||
*
|
*
|
||||||
* @since 4.5.0
|
* @since 4.5.0
|
||||||
|
* @since 4.6.0 Added the `$blog_id` parameter.
|
||||||
*
|
*
|
||||||
* @param string $html Custom logo HTML output.
|
* @param string $html Custom logo HTML output.
|
||||||
|
* @param int $blog_id ID of the blog to get the custom logo for.
|
||||||
*/
|
*/
|
||||||
return apply_filters( 'get_custom_logo', $html );
|
return apply_filters( 'get_custom_logo', $html, $blog_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue