diff --git a/wp-includes/user.php b/wp-includes/user.php index 877694cf2a..070970a53b 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -2023,7 +2023,7 @@ function wp_insert_user( $userdata ) { $meta['rich_editing'] = empty( $userdata['rich_editing'] ) ? 'true' : $userdata['rich_editing']; - $meta['comment_shortcuts'] = empty( $userdata['comment_shortcuts'] ) ? 'false' : $userdata['comment_shortcuts']; + $meta['comment_shortcuts'] = empty( $userdata['comment_shortcuts'] ) || 'false' === $userdata['comment_shortcuts'] ? 'false' : 'true'; $admin_color = empty( $userdata['admin_color'] ) ? 'fresh' : $userdata['admin_color']; $meta['admin_color'] = preg_replace( '|[^a-z0-9 _.\-@]|i', '', $admin_color ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9510ac14ab..63c7516a2e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32903'; +$wp_version = '4.3-alpha-32904'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.