id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 39627,Custom Logo: Use correct theme mod in _media_states(),pbiron,SergeyBiryukov,"in wp-admin/includes/template.php, {{{ function _media_states ( $post ) { ... if ( $post->ID == get_theme_mod( 'site_logo' ) ) { $media_states[] = __( 'Logo' ); } }}} should be {{{ function _media_states ( $post ) { ... if ( $post->ID == get_theme_mod( 'custom_logo' ) ) { $media_states[] = __( 'Logo' ); } }}} As a result, when the Theme Customizer is used to add a custom logo, the image added as the custom logo is '''not''' tag as such in the Media Library because the wrong theme mod {{{$name}}} is checked.",defect (bug),closed,normal,4.8,Media,4.5,normal,fixed,good-first-bug has-patch,,