From 115b91faff79651768dbc53ed7cbdc02d14df712 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 11 Apr 2014 03:09:15 +0000 Subject: [PATCH] Editor: Ensure the link dialog does not display when styles are missing. props mattheu. fixes #27605. Built from https://develop.svn.wordpress.org/trunk@28071 git-svn-id: http://core.svn.wordpress.org/trunk@27902 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 3123fea850..e4bf5a0890 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -1382,9 +1382,10 @@ final class _WP_Editors { public static function wp_link_dialog() { $search_panel_visible = '1' == get_user_setting( 'wplink', '0' ) ? ' search-panel-visible' : ''; + // display: none is required here, see #WP27605 ?> - -