From bfbcfe3e6a3ab93484b146f1e6eff33d64fa4021 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 11 Mar 2015 02:39:02 +0000 Subject: [PATCH] wpLink: replace the "Title" field with a "Text" field and populate it with the link text when editing an existing link or with the selected text if any. Props iseulde. See #28206. git-svn-id: https://develop.svn.wordpress.org/trunk@31713 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 10 +- src/wp-includes/css/editor.css | 18 +- .../js/tinymce/plugins/wplink/plugin.js | 34 +--- src/wp-includes/js/wplink.js | 172 ++++++++++++------ 4 files changed, 139 insertions(+), 95 deletions(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index a033b39713..fd723cd361 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -1448,14 +1448,14 @@ final class _WP_Editors {