Media: After [36837], check the correct theme modification name for custom logo in _media_states().

Props pbiron, mitraval192.
Fixes #39627.
Built from https://develop.svn.wordpress.org/trunk@39925


git-svn-id: http://core.svn.wordpress.org/trunk@39862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-01-19 02:03:41 +00:00
parent 3e6c892f89
commit 371c072b38
2 changed files with 2 additions and 2 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' );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39924';
$wp_version = '4.8-alpha-39925';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.