Remove show_post_thumbnail_warning

git-svn-id: https://develop.svn.wordpress.org/trunk@15486 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-08-02 17:29:34 +00:00
parent 383b705801
commit 7d0a19de0f
1 changed files with 0 additions and 10 deletions

View File

@ -805,16 +805,6 @@ function choose_primary_blog() {
<?php
}
function show_post_thumbnail_warning() {
if ( ! is_super_admin() )
return;
$mu_media_buttons = get_site_option( 'mu_media_buttons', array() );
if ( empty($mu_media_buttons['image']) && current_theme_supports( 'post-thumbnails' ) ) {
echo "<div class='update-nag'>" . sprintf( __( "Warning! The current theme supports Featured Images. You must enable image uploads on <a href='%s'>the options page</a> for it to work." ), esc_url( admin_url( 'ms-options.php' ) ) ) . "</div>";
}
}
add_action( 'admin_notices', 'show_post_thumbnail_warning' );
function ms_deprecated_blogs_file() {
if ( ! is_super_admin() )
return;