WordPress.org

Make WordPress Core

Changeset 27391


Ignore:
Timestamp:
03/04/2014 04:07:31 AM (8 years ago)
Author:
azaozz
Message:

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

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/wp-fullscreen.js

    r27085 r27391  
    529529                            s.editor.execCommand('unlink');
    530530                            break;
    531                         case 'image':
    532                             s.editor.execCommand('mceImage');
    533                             break;
    534531                        case 'help':
    535532                            s.editor.execCommand('WP_Help');
  • trunk/src/wp-includes/class-wp-editor.php

    r27366 r27391  
    898898            'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'both' => false ),
    899899            'wp-media-library' => array( 'title' => __('Media library (Alt + Shift + M)'), 'both' => true ),
    900             'image' => array( 'title' => __('Insert/edit image'), 'both' => false ),
    901900            'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'both' => true ),
    902901            'unlink' => array( 'title' => __('Unlink (Alt + Shift + S)'), 'both' => false ),
Note: See TracChangeset for help on using the changeset viewer.