From e419f6258c0abeb0035abad15b8ed2575dfdc27c Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 8 Feb 2013 18:30:09 +0000 Subject: [PATCH] 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 git-svn-id: https://develop.svn.wordpress.org/trunk@23395 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-form-advanced.php | 2 +- wp-admin/includes/media.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 7d142d9af4..cea809b80a 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -360,7 +360,7 @@ if ( post_type_supports($post_type, 'editor') ) { ?>
-post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'sample-permalink,post-preview', 'editor_height' => 360) ); ?> +post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'insert-media-button,save-post', 'editor_height' => 360) ); ?> diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index a8751f1231..814cae9f9e 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -393,7 +393,7 @@ function media_buttons($editor_id = 'content') { $img = ' '; - echo '' . $img . __( 'Add Media' ) . ''; + echo '' . $img . __( 'Add Media' ) . ''; // Don't use this filter. Want to add a button? Use the media_buttons action. $legacy_filter = apply_filters('media_buttons_context', ''); // deprecated
0' ); ?>