Ticket #17942: 17942-2.patch
File 17942-2.patch, 1.5 KB (added by , 14 years ago) |
---|
-
wp-admin/includes/post.php
1792 1792 <div id="wp-fullscreen-button-bar"><div id="wp-fullscreen-buttons" class="wp_themeSkin"> 1793 1793 <?php 1794 1794 1795 $media_link_type = 'image'; 1796 if ( is_multisite() && ( ( ! $mu_media_buttons = get_site_option( 'mu_media_buttons' ) ) || empty( $mu_media_buttons['image'] ) ) ) 1797 $media_link_type = 'media'; 1798 1795 1799 $buttons = array( 1796 1800 // format: title, onclick, show in both editors 1797 1801 'bold' => array( 'title' => __('Bold (Ctrl + B)'), 'onclick' => 'fullscreen.b();', 'both' => false ), … … 1801 1805 'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'onclick' => 'fullscreen.ol();', 'both' => false ), 1802 1806 '1' => 'separator', 1803 1807 'blockquote' => array( 'title' => __('Blockquote (Alt+Shift+Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ), 1804 'image' => array( 'title' => __('Insert/edit image (Alt + Shift + M)'), 'onclick' => "jQuery('#add_ image').click();", 'both' => true ),1808 'image' => array( 'title' => __('Insert/edit image (Alt + Shift + M)'), 'onclick' => "jQuery('#add_{$media_link_type}').click();", 'both' => true ), 1805 1809 '2' => 'separator', 1806 1810 'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'onclick' => 'fullscreen.link();', 'both' => true ), 1807 1811 'unlink' => array( 'title' => __('Unlink (Alt + Shift + S)'), 'onclick' => 'fullscreen.unlink();', 'both' => false ),