From 3025e87fa26dbfdaefc70ac95a82d30185eaed49 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Sun, 6 Dec 2015 21:22:10 +0000 Subject: [PATCH] The the Docs: Fix the the dittography Sometimes, it's easy to to type the the same word twice, especially if if it's a simple word. We probably shouldn't do do do (do do do doo) it, though. (I've excluded external libs from this change.) Fixes #34885. git-svn-id: https://develop.svn.wordpress.org/trunk@35793 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/customize-widgets.js | 2 +- src/wp-includes/class-json.php | 2 +- src/wp-includes/class-wp-customize-widgets.php | 2 +- src/wp-includes/revision.php | 2 +- src/wp-includes/user.php | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/js/customize-widgets.js b/src/wp-admin/js/customize-widgets.js index 820e8e3cab..595585c1ae 100644 --- a/src/wp-admin/js/customize-widgets.js +++ b/src/wp-admin/js/customize-widgets.js @@ -959,7 +959,7 @@ * comparing the loaded form with the sanitized form, whose fields will * be aligned to copy the sanitized over. The elements returned by this * are passed into this._getInputsSignature(), and they are iterated - * over when copying sanitized values over to the the form loaded. + * over when copying sanitized values over to the form loaded. * * @param {jQuery} container element in which to look for inputs * @returns {jQuery} inputs diff --git a/src/wp-includes/class-json.php b/src/wp-includes/class-json.php index 53b31e3634..7f34d3fcab 100644 --- a/src/wp-includes/class-json.php +++ b/src/wp-includes/class-json.php @@ -445,7 +445,7 @@ class Services_JSON case 'array': /* * As per JSON spec if any array key is not an integer - * we must treat the the whole array as an object. We + * we must treat the whole array as an object. We * also try to catch a sparsely populated associative * array with numeric keys here because some JS engines * will create an array with empty indexes up to diff --git a/src/wp-includes/class-wp-customize-widgets.php b/src/wp-includes/class-wp-customize-widgets.php index 7639d5091c..f26f8d1740 100644 --- a/src/wp-includes/class-wp-customize-widgets.php +++ b/src/wp-includes/class-wp-customize-widgets.php @@ -343,7 +343,7 @@ final class WP_Customize_Widgets { /* * Add a setting which will be supplied for the theme's sidebars_widgets - * theme_mod when the the theme is switched. + * theme_mod when the theme is switched. */ if ( ! $this->manager->is_theme_active() ) { $setting_id = 'old_sidebars_widgets_data'; diff --git a/src/wp-includes/revision.php b/src/wp-includes/revision.php index 8c2337624d..2f482e0ceb 100644 --- a/src/wp-includes/revision.php +++ b/src/wp-includes/revision.php @@ -120,7 +120,7 @@ function wp_save_post_revision( $post_id ) { * * @param bool $check_for_changes Whether to check for changes before saving a new revision. * Default true. - * @param WP_Post $last_revision The the last revision post object. + * @param WP_Post $last_revision The last revision post object. * @param WP_Post $post The post object. * */ diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index f14fa486a7..656f710657 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -1266,9 +1266,9 @@ function validate_username( $username ) { * @type string $user_url The user URL. * @type string $user_email The user email address. * @type string $display_name The user's display name. - * Default is the the user's username. + * Default is the user's username. * @type string $nickname The user's nickname. - * Default is the the user's username. + * Default is the user's username. * @type string $first_name The user's first name. For new users, will be used * to build the first part of the user's display name * if `$display_name` is not specified. @@ -1541,7 +1541,7 @@ function wp_insert_user( $userdata ) { * @param array $meta { * Default meta values and keys for the user. * - * @type string $nickname The user's nickname. Default is the the user's username. + * @type string $nickname The user's nickname. Default is the user's username. * @type string $first_name The user's first name. * @type string $last_name The user's last name. * @type string $description The user's description.