From 988caeb9a709471203f63738f7c628db1760d3ca Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 10 Sep 2013 22:49:08 +0000 Subject: [PATCH] Check `$profileuser->rich_editing` for empty before using it in Edit User admin code. Props sorich87, c3mdigital. Fixes #17328. Built from https://develop.svn.wordpress.org/trunk@25330 git-svn-id: http://core.svn.wordpress.org/trunk@25292 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index bb9119f221..de0f9e4df7 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -205,7 +205,7 @@ if ( ! IS_PROFILE_PAGE ) { - + 1 && has_action('admin_color_scheme_picker') ) : ?> @@ -218,7 +218,7 @@ endif; // $_wp_admin_css_colors if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> - More information'); ?> + More information'); ?>