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:
Sergey Biryukov 2017-01-19 02:02:39 +00:00
parent 4e8e97983c
commit 7a9d5c9ab9
1 changed files with 1 additions and 1 deletions

View File

@ -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' );
}