Media: After [36837], check the correct theme modification name for custom logo in `_media_states()`.
Props pbiron, mitraval192. Fixes #39627. git-svn-id: https://develop.svn.wordpress.org/trunk@39925 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4e8e97983c
commit
7a9d5c9ab9
|
@ -1794,7 +1794,7 @@ function _media_states( $post ) {
|
|||
$media_states[] = __( 'Site Icon' );
|
||||
}
|
||||
|
||||
if ( $post->ID == get_theme_mod( 'site_logo' ) ) {
|
||||
if ( $post->ID == get_theme_mod( 'custom_logo' ) ) {
|
||||
$media_states[] = __( 'Logo' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue