From 54067a5f20bfbbe41010b2bb2e1672f27df43f05 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 14 Dec 2011 17:36:38 +0000 Subject: [PATCH] Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433 git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-tag-form.php | 2 +- wp-admin/edit.php | 2 +- wp-admin/export.php | 2 +- wp-admin/includes/dashboard.php | 12 ++++++------ wp-admin/includes/file.php | 8 ++++---- wp-admin/includes/meta-boxes.php | 12 ++++++------ wp-admin/includes/ms.php | 10 +++++----- wp-admin/includes/nav-menu.php | 6 +++--- wp-admin/includes/plugin-install.php | 2 +- wp-admin/includes/plugin.php | 4 ++-- wp-admin/includes/post.php | 4 ++-- wp-admin/includes/screen.php | 4 ++-- wp-admin/includes/template.php | 4 ++-- wp-admin/includes/theme-install.php | 8 ++++---- wp-admin/includes/theme.php | 4 ++-- wp-admin/includes/update-core.php | 2 +- wp-admin/includes/update.php | 2 +- wp-admin/includes/upgrade.php | 8 ++++---- wp-admin/link-parse-opml.php | 2 +- wp-admin/maint/repair.php | 2 +- wp-admin/nav-menus.php | 4 ++-- wp-admin/network/menu.php | 2 +- wp-admin/options-general.php | 4 ++-- wp-admin/options-permalink.php | 4 ++-- wp-admin/options-reading.php | 2 +- wp-admin/options.php | 2 +- wp-admin/press-this.php | 4 ++-- wp-admin/themes.php | 2 +- wp-admin/tools.php | 2 +- wp-admin/upgrade.php | 2 +- wp-admin/user-new.php | 4 ++-- wp-includes/capabilities.php | 9 +++++++-- 32 files changed, 73 insertions(+), 68 deletions(-) diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index 92f074a790..87fdbbc788 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -24,7 +24,7 @@ elseif ( 'link_category' == $taxonomy ) else do_action('edit_tag_form_pre', $tag); -do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> +do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?>
diff --git a/wp-admin/edit.php b/wp-admin/edit.php index b3b6b2e859..5cc8339d7c 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -133,7 +133,7 @@ if ( $doaction ) { break; } - $sendback = remove_query_arg( array('action', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view'), $sendback ); + $sendback = remove_query_arg( array('action', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view'), $sendback ); wp_redirect($sendback); exit(); diff --git a/wp-admin/export.php b/wp-admin/export.php index 700655246b..1519961ba9 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -41,7 +41,7 @@ add_action( 'admin_head', 'add_js' ); get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __('Overview'), - 'content' => '

' . __('You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.') . '

' . + 'content' => '

' . __('You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.') . '

' . '

' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '

', ) ); diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index b37ac0cdba..6194862285 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -86,8 +86,8 @@ function wp_dashboard_setup() { if ( !isset( $widget_options['dashboard_primary'] ) ) { $update = true; $widget_options['dashboard_primary'] = array( - 'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/news/' ) ), - 'url' => apply_filters( 'dashboard_primary_feed', __( 'http://wordpress.org/news/feed/' ) ), + 'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/news/' ) ), + 'url' => apply_filters( 'dashboard_primary_feed', __( 'http://wordpress.org/news/feed/' ) ), 'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ), 'items' => 2, 'show_summary' => 1, @@ -101,8 +101,8 @@ function wp_dashboard_setup() { if ( !isset( $widget_options['dashboard_secondary'] ) ) { $update = true; $widget_options['dashboard_secondary'] = array( - 'link' => apply_filters( 'dashboard_secondary_link', __( 'http://planet.wordpress.org/' ) ), - 'url' => apply_filters( 'dashboard_secondary_feed', __( 'http://planet.wordpress.org/feed/' ) ), + 'link' => apply_filters( 'dashboard_secondary_link', __( 'http://planet.wordpress.org/' ) ), + 'url' => apply_filters( 'dashboard_secondary_feed', __( 'http://planet.wordpress.org/feed/' ) ), 'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ), 'items' => 5, 'show_summary' => 0, @@ -700,7 +700,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; $actions['edit'] = "". __('Edit') . ''; $actions['reply'] = '' . __('Reply') . ''; - $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; + $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; if ( !EMPTY_TRASH_DAYS ) $actions['delete'] = "" . __('Delete Permanently') . ''; else @@ -1290,7 +1290,7 @@ function wp_welcome_panel() {
-

+

First Steps with WordPress. If you’d rather dive right in, here are a few things most people do first when they set up a new WordPress site. If you need help, use the Help tabs in the upper right corner to get information on how to use your current screen and where to go for more assistance.' ); ?>

diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 3649f555b6..796948c1e1 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -157,7 +157,7 @@ function list_files( $folder = '', $levels = 100 ) { * Please note that the calling function must unlink() this itself. * * The filename is based off the passed parameter or defaults to the current unix timestamp, - * while the directory can either be passed as well, or by leaving it blank, default to a writable temporary directory. + * while the directory can either be passed as well, or by leaving it blank, default to a writable temporary directory. * * @since 2.6.0 * @@ -486,7 +486,7 @@ function wp_handle_sideload( &$file, $overrides = false ) { /** * Downloads a url to a local temporary file using the WordPress HTTP Class. - * Please note, That the calling function must unlink() the file. + * Please note, That the calling function must unlink() the file. * * @since 2.5.0 * @@ -884,7 +884,7 @@ function get_filesystem_method($args = array(), $context = false) { } /** - * Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. + * Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. * All chosen/entered details are saved, Excluding the Password. * * Hostnames may be in the form of hostname:portnumber (eg: wordpress.org:2467) to specify an alternate FTP/SSH port. @@ -896,7 +896,7 @@ function get_filesystem_method($args = array(), $context = false) { * @param string $form_post the URL to post the form to * @param string $type the chosen Filesystem method in use * @param boolean $error if the current request has failed to connect - * @param string $context The directory which is needed access to, The write-test will be performed on this directory by get_filesystem_method() + * @param string $context The directory which is needed access to, The write-test will be performed on this directory by get_filesystem_method() * @param string $extra_fields Extra POST fields which should be checked for to be included in the post. * @return boolean False on failure. True on success. */ diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index ddb3e9d4f5..22384db0e7 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -27,7 +27,7 @@ function post_submit_meta_box($post) {
-post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?> +post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?> post_status ) { ?>style="display:none" type="submit" name="save" id="save-post" value="" tabindex="4" class="button button-highlighted" /> post_status && $can_publish ) { ?> @@ -639,7 +639,7 @@ function link_submit_meta_box($link) { @@ -789,7 +789,7 @@ function link_xfn_meta_box($link) { + />
-
+
name ) continue; ?> - name, 'post'); ?> /> + name, 'post'); ?> /> @@ -1409,7 +1409,7 @@ do_action("admin_head-$hook_suffix"); do_action('admin_head'); ?> - class="wp-admin no-js iframe "> + class="wp-admin no-js iframe ">