mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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' );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user