mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -48,6 +48,7 @@ add_filter( 'wp_handle_upload_prefilter', 'check_upload_size' );
|
||||
function wpmu_delete_blog($blog_id, $drop = false) {
|
||||
global $wpdb;
|
||||
|
||||
$switched = false;
|
||||
if ( $blog_id != $wpdb->blogid ) {
|
||||
$switch = true;
|
||||
switch_to_blog($blog_id);
|
||||
|
||||
@@ -453,7 +453,10 @@ function get_bloginfo( $show = '', $filter = 'raw' ) {
|
||||
break;
|
||||
case 'text_direction':
|
||||
global $wp_locale;
|
||||
$output = $wp_locale->text_direction;
|
||||
if ( isset( $wp_locale ) )
|
||||
$output = $wp_locale->text_direction;
|
||||
else
|
||||
$output = 'ltr';
|
||||
break;
|
||||
case 'name':
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user