Add a nag message for themes which are relying on the deprecated behaviour.

git-svn-id: https://develop.svn.wordpress.org/trunk@14369 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2010-05-03 13:23:34 +00:00
parent db59b8e7f9
commit 137564fa08
2 changed files with 32 additions and 1 deletions
+1 -1
View File
@@ -59,8 +59,8 @@ if ( is_multisite() && current_user_can('edit_themes') ) {
elseif ( isset($_GET['deleted']) ) : ?>
<div id="message3" class="updated"><p><?php _e('Theme deleted.') ?></p></div>
<?php endif; ?>
<?php
_check_theme_deprecated_files();
$themes = get_allowed_themes();
$ct = current_theme_info();
unset($themes[$ct->name]);