Ticket #5910: rem-media-buttons.patch
File rem-media-buttons.patch, 1.8 KB (added by , 13 years ago) |
---|
-
wp-admin/edit-form-comment.php
39 39 40 40 <fieldset style="clear: both;"> 41 41 <legend><?php _e('Comment') ?></legend> 42 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url' ); ?>42 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false); ?> 43 43 </fieldset> 44 44 45 45 <?php -
wp-admin/wp-admin.css
264 264 color: #fff; 265 265 } 266 266 267 # postdivrich #quicktags, #postdiv #quicktags {267 #quicktags { 268 268 background: #cee1ef; 269 269 padding: 0; 270 270 border: 0 none; -
wp-includes/general-template.php
918 918 return apply_filters( 'wp_default_editor', $r ); // filter 919 919 } 920 920 921 function the_editor($content, $id = 'content', $prev_id = 'title' ) {921 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true) { 922 922 $rows = get_option('default_post_edit_rows'); 923 923 if (($rows < 3) || ($rows > 100)) 924 924 $rows = 12; … … 937 937 <a id="edButtonHTML" class="active"><?php _e('HTML'); ?></a> 938 938 <a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a> 939 939 <?php } 940 } ?> 940 } 941 942 if ( $media_buttons ) { ?> 941 943 <div id="media-buttons"> 942 944 <?php _e('Add media:'); ?> 943 945 <?php do_action( 'media_buttons'); ?> 944 946 </div> 947 <?php } ?> 945 948 </div> 946 949 947 950 <div id="quicktags">