From dab5a6ef7df75f6c9444281821a1f433ab0b7b45 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: http://core.svn.wordpress.org/trunk@23395 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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' ); ?>