DFW: revert adding the 'image' button, images are edited in the media modal. See #24067.

Built from https://develop.svn.wordpress.org/trunk@27391


git-svn-id: http://core.svn.wordpress.org/trunk@27239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-03-04 04:08:14 +00:00
parent c67c9565f1
commit 2ccc89edfd
3 changed files with 1 additions and 5 deletions

View File

@ -528,9 +528,6 @@
case 'unlink': case 'unlink':
s.editor.execCommand('unlink'); s.editor.execCommand('unlink');
break; break;
case 'image':
s.editor.execCommand('mceImage');
break;
case 'help': case 'help':
s.editor.execCommand('WP_Help'); s.editor.execCommand('WP_Help');
break; break;

File diff suppressed because one or more lines are too long

View File

@ -897,7 +897,6 @@ final class _WP_Editors {
'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'both' => false ), 'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'both' => false ),
'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'both' => false ), 'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'both' => false ),
'wp-media-library' => array( 'title' => __('Media library (Alt + Shift + M)'), 'both' => true ), 'wp-media-library' => array( 'title' => __('Media library (Alt + Shift + M)'), 'both' => true ),
'image' => array( 'title' => __('Insert/edit image'), 'both' => false ),
'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'both' => true ), 'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'both' => true ),
'unlink' => array( 'title' => __('Unlink (Alt + Shift + S)'), 'both' => false ), 'unlink' => array( 'title' => __('Unlink (Alt + Shift + S)'), 'both' => false ),
'help' => array( 'title' => __('Help (Alt + Shift + H)'), 'both' => false ), 'help' => array( 'title' => __('Help (Alt + Shift + H)'), 'both' => false ),