diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 679f1032b0..0b603ea256 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -12,8 +12,13 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); /** WordPress Administration Widgets API */ require_once(ABSPATH . 'wp-admin/includes/widgets.php'); -if ( ! current_user_can('edit_theme_options') ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! current_user_can( 'edit_theme_options' ) ) { + wp_die( + '
' . __( 'You are not allowed to edit theme options on this site.' ) . '
', + 403 + ); +} $widgets_access = get_user_setting( 'widgets_access' ); if ( isset($_GET['widgets-access']) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 33bc34382b..b774423c2b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33885'; +$wp_version = '4.4-alpha-33886'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.