From fc6e89da450bf73593e09ae9cd3849d6ec76a9a2 Mon Sep 17 00:00:00 2001
From: markjaquith
diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php
index ba9391ca56..6d974feff5 100644
--- a/wp-admin/custom-background.php
+++ b/wp-admin/custom-background.php
@@ -210,7 +210,7 @@ if ( get_background_image() ) {
-
+
@@ -223,7 +223,7 @@ if ( get_background_image() ) {
@@ -236,7 +236,7 @@ if ( get_background_image() ) {
-
+
- +
diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 42f3e9d846..c299e52165 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -71,7 +71,7 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\n"; ?>- + labels->search_items, 'button', 'submit', false ); ?>
- + labels->search_items, 'button', 'submit', false ); ?>
diff --git a/wp-admin/export.php b/wp-admin/export.php index 492b4394fc..402d4b18bf 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -53,7 +53,7 @@ if ( $monthyears = $wpdb->get_results("SELECT DISTINCT YEAR(post_date) AS `year` diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 90ca60cdcb..90cbfc72c7 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -253,7 +253,8 @@ class WP_List_Table { echo "\t\n"; echo "\n"; - echo "\n"; + submit_button( __( 'Apply' ), 'button-secondary action', "doaction$two", false ); + echo "\n"; } /** diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 860c8ae503..035b3fe860 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -479,7 +479,7 @@ function wp_dashboard_quick_press_output() { - + 'save-post', 'tabindex'=> 4 ) ); ?> diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 2d3b282e28..6fa2310d8c 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -1066,10 +1066,8 @@ foreach ( (array) $extra_fields as $field ) { if ( isset( $_POST[ $field ] ) ) echo ''; } +submit_button( __( 'Proceed' ), 'button', 'upgrade' ); ?> -- -
$label\n"; ?> - - - -'; } diff --git a/wp-admin/includes/list-table-links.php b/wp-admin/includes/list-table-links.php index 635a6c61ef..c9004fc3f1 100644 --- a/wp-admin/includes/list-table-links.php +++ b/wp-admin/includes/list-table-links.php @@ -69,8 +69,8 @@ class WP_Links_Table extends WP_List_Table { 'orderby' => 'name', ); wp_dropdown_categories( $dropdown_options ); + submit_button( __( 'Filter' ), 'secondary', 'post-query-submit', false ); ?> - months_dropdown( $post_type ); do_action( 'restrict_manage_posts' ); -?> - - - - is_trash && current_user_can( $post_type_obj->cap->edit_others_posts ) ) { ?> - - + if ( $detached ) { + submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false ); + } elseif ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) { + submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false ); + } ?>- + 'save-all', 'style' => 'display: none;' ) ); ?> @@ -1828,7 +1830,7 @@ function media_upload_library_form($errors) {
- +
- +
@@ -2143,7 +2145,7 @@ function _insert_into_post_button($type) {
-
+
' . $button . '
'; + } + + return $button; } diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 0598eb1744..96df9a189e 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -63,7 +63,7 @@ function install_theme_search_form() { - +- -
+ diff --git a/wp-admin/media.php b/wp-admin/media.php index b171e97d39..48aab7ced6 100644 --- a/wp-admin/media.php +++ b/wp-admin/media.php @@ -91,7 +91,7 @@ case 'edit' :- -
+ - +