Make WordPress Core

Changeset 39925


Ignore:
Timestamp:
01/19/2017 02:02:39 AM (10 years ago)
Author:
SergeyBiryukov
Message:

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

Props pbiron, mitraval192.
Fixes #39627.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r39210 r39925  
    17951795        }
    17961796
    1797         if ( $post->ID == get_theme_mod( 'site_logo' ) ) {
     1797        if ( $post->ID == get_theme_mod( 'custom_logo' ) ) {
    17981798                $media_states[] = __( 'Logo' );
    17991799        }
Note: See TracChangeset for help on using the changeset viewer.