From 7495a110ccbc4b599108952b9a6451ebf811c66b Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Tue, 24 Oct 2017 23:35:46 +0000 Subject: [PATCH] Code Editors: Add a persistent notification on CSS files, encouraging people to use the CSS panel in the Customizer instead of editing their CSS files directly. Props helen, westonruter, nic.bertino, michelleweber. Fixes #42100. Built from https://develop.svn.wordpress.org/trunk@42013 git-svn-id: http://core.svn.wordpress.org/trunk@41847 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/theme-editor.php | 14 ++++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index e3a9219c33..b664cec905 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -185,6 +185,20 @@ if ( $file_description != $file_show ) {
get_error_message() ? $edit_error->get_error_message() : $edit_error->get_error_code() ); ?>
+ +
+

+

+ built-in CSS editor.' ), + esc_url( add_query_arg( 'autofocus[section]', 'custom_css', admin_url( 'customize.php' ) ) ) + ); + ?> +

+
+
diff --git a/wp-includes/version.php b/wp-includes/version.php index 9e449422e3..6547556667 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta3-42012'; +$wp_version = '4.9-beta3-42013'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.