WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/20/2010 11:01:09 PM (11 years ago)
Author:
ryan
Message:

Clear some warnings. see #11644

File:
1 edited

Legend:

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

    r12767 r12782  
    12191219    }
    12201220    $mu_media_buttons = get_site_option( 'mu_media_buttons', array() );
    1221     if ( !$mu_media_buttons[ 'image' ] && current_theme_supports( 'post-thumbnails' ) ) {
     1221    if ( empty($mu_media_buttons[ 'image' ]) && current_theme_supports( 'post-thumbnails' ) ) {
    12221222        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>";
    12231223    }
Note: See TracChangeset for help on using the changeset viewer.