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

git-svn-id: https://develop.svn.wordpress.org/trunk@27391 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-03-04 04:07:31 +00:00
parent 5edec1d792
commit f0c491968a
2 changed files with 0 additions and 4 deletions

View File

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

View File

@ -897,7 +897,6 @@ final class _WP_Editors {
'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'both' => false ),
'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'both' => false ),
'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 ),
'unlink' => array( 'title' => __('Unlink (Alt + Shift + S)'), 'both' => false ),
'help' => array( 'title' => __('Help (Alt + Shift + H)'), 'both' => false ),