Make WordPress Core


Ignore:
Timestamp:
08/02/2010 05:29:34 PM (14 years ago)
Author:
ryan
Message:

Remove show_post_thumbnail_warning

File:
1 edited

Legend:

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

    r15485 r15486  
    806806}
    807807
    808 function show_post_thumbnail_warning() {
    809     if ( ! is_super_admin() )
    810         return;
    811     $mu_media_buttons = get_site_option( 'mu_media_buttons', array() );
    812     if ( empty($mu_media_buttons['image']) && current_theme_supports( 'post-thumbnails' ) ) {
    813         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>";
    814     }
    815 }
    816 add_action( 'admin_notices', 'show_post_thumbnail_warning' );
    817 
    818808function ms_deprecated_blogs_file() {
    819809    if ( ! is_super_admin() )
Note: See TracChangeset for help on using the changeset viewer.