mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-24 08:21:38 +01:00
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:
parent
3e6c892f89
commit
371c072b38
@ -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' );
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user