mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
+1
-1
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user