mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 20:58:55 +00:00
Clear some warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12782 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1218,7 +1218,7 @@ function show_post_thumbnail_warning() {
|
||||
return;
|
||||
}
|
||||
$mu_media_buttons = get_site_option( 'mu_media_buttons', array() );
|
||||
if ( !$mu_media_buttons[ 'image' ] && current_theme_supports( 'post-thumbnails' ) ) {
|
||||
if ( empty($mu_media_buttons[ 'image' ]) && current_theme_supports( 'post-thumbnails' ) ) {
|
||||
echo "<div id='update-nag'>" . sprintf( __( "Warning! The current theme supports post thumbnails. You must enable image uploads on <a href='%s'>the options page</a> for it to work." ), admin_url( 'ms-options.php' ) ) . "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user