From 968072c43d283f79879b3e909daaa187d920b623 Mon Sep 17 00:00:00 2001 From: Pete Mall Date: Wed, 15 Dec 2010 09:05:10 +0000 Subject: [PATCH] Use get_blog_option() isntead of raw SQL in site-users. See #14756 git-svn-id: https://develop.svn.wordpress.org/trunk@16935 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/network/site-users.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/network/site-users.php b/wp-admin/network/site-users.php index a4cefe5a0a..2df5f8a02c 100644 --- a/wp-admin/network/site-users.php +++ b/wp-admin/network/site-users.php @@ -43,6 +43,7 @@ if ( ! empty($wp_roles->use_db) ) { // Roles are stored in memory, not the DB. $editblog_roles = $wp_roles->roles; } +$default_role = get_blog_option( $id, 'default_role' ); $action = $wp_list_table->current_action(); @@ -237,7 +238,6 @@ endif; ?>