Make WordPress Core


Ignore:
Timestamp:
02/08/2013 06:30:09 PM (12 years ago)
Author:
markjaquith
Message:

Fix some tabbing issues on the post editing screen. Add Media no longer skipped when going backwards from content. Save Draft no longer skipped when going forwards from content.

props adamsilverstein. fixes #23195 and #22933

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r23290 r23395  
    394394    $img = '<span class="wp-media-buttons-icon"></span> ';
    395395
    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>';
    397397
    398398    // 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.