Changeset 23395
- Timestamp:
- 02/08/2013 06:30:09 PM (12 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r23083 r23395 361 361 <div id="postdivrich" class="postarea"> 362 362 363 <?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => ' sample-permalink,post-preview', 'editor_height' => 360) ); ?>363 <?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'insert-media-button,save-post', 'editor_height' => 360) ); ?> 364 364 365 365 <table id="post-status-info" cellspacing="0"><tbody><tr> -
trunk/wp-admin/includes/media.php
r23290 r23395 394 394 $img = '<span class="wp-media-buttons-icon"></span> '; 395 395 396 echo '<a href="#" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . __( 'Add Media' ) . '</a>';396 echo '<a href="#" id="insert-media-button" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . __( 'Add Media' ) . '</a>'; 397 397 398 398 // Don't use this filter. Want to add a button? Use the media_buttons action.
Note: See TracChangeset
for help on using the changeset viewer.