function show_post_thumbnail_warning() {}

Source code

function show_post_thumbnail_warning() {

	if ( ! is_super_admin() )


	$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>";




No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: