Changeset 18710 for trunk/wp-includes/class-wp-editor.php
- Timestamp:
- 09/19/2011 12:47:23 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-editor.php
r18666 r18710 595 595 <?php 596 596 597 $media_link_type = 'image';598 if ( is_multisite() && ( ( ! $mu_media_buttons = get_site_option( 'mu_media_buttons' ) ) || empty( $mu_media_buttons['image'] ) ) )599 $media_link_type = 'media';600 601 597 $buttons = array( 602 598 // format: title, onclick, show in both editors … … 608 604 '1' => 'separator', 609 605 'blockquote' => array( 'title' => __('Blockquote (Alt+Shift+Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ), 610 'image' => array( 'title' => __('Insert/edit image (Alt + Shift + M)'), 'onclick' => " jQuery('#add_{$media_link_type}').click();", 'both' => true ),606 'image' => array( 'title' => __('Insert/edit image (Alt + Shift + M)'), 'onclick' => "fullscreen.medialib();", 'both' => true ), 611 607 '2' => 'separator', 612 608 'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'onclick' => 'fullscreen.link();', 'both' => true ),
Note: See TracChangeset
for help on using the changeset viewer.