Changeset 6930 for trunk/wp-includes/general-template.php
- Timestamp:
- 02/20/2008 05:39:04 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r6894 r6930 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)) … … 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
Note: See TracChangeset
for help on using the changeset viewer.