From 47f5fd023c9b756e03ffc48ddbf942a3e5f88d8f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 9 Sep 2017 13:18:23 +0000 Subject: [PATCH] Docs: Remove "in in", "this this", and "containing containing" dittography from inline comments. Props Presskopp. Fixes #41841. git-svn-id: https://develop.svn.wordpress.org/trunk@41353 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-nav-menus.php | 4 ++-- src/wp-includes/theme.php | 2 +- src/wp-signup.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/class-wp-customize-nav-menus.php b/src/wp-includes/class-wp-customize-nav-menus.php index 3b9ca487fd..b2f91ceb5c 100644 --- a/src/wp-includes/class-wp-customize-nav-menus.php +++ b/src/wp-includes/class-wp-customize-nav-menus.php @@ -716,7 +716,7 @@ final class WP_Customize_Nav_Menus { * Return an array of all the available item types. * * @since 4.3.0 - * @since 4.7.0 Each array item now includes a `$type_label` in in addition to `$title`, `$type`, and `$object`. + * @since 4.7.0 Each array item now includes a `$type_label` in addition to `$title`, `$type`, and `$object`. * * @return array The available menu item types. */ @@ -754,7 +754,7 @@ final class WP_Customize_Nav_Menus { * Filters the available menu item types. * * @since 4.3.0 - * @since 4.7.0 Each array item now includes a `$type_label` in in addition to `$title`, `$type`, and `$object`. + * @since 4.7.0 Each array item now includes a `$type_label` in addition to `$title`, `$type`, and `$object`. * * @param array $item_types Custom menu item types. */ diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 0c2f30474e..8a51d7e014 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -3134,7 +3134,7 @@ function _wp_keep_alive_customize_changeset_dependent_auto_drafts( $new_status, } $wpdb->update( $wpdb->posts, - array( 'post_date' => $new_post_date ), // Note wp_delete_auto_drafts() only looks at this this date. + array( 'post_date' => $new_post_date ), // Note wp_delete_auto_drafts() only looks at this date. array( 'ID' => $post_id ) ); clean_post_cache( $post_id ); diff --git a/src/wp-signup.php b/src/wp-signup.php index e119b982a8..352f9b8330 100644 --- a/src/wp-signup.php +++ b/src/wp-signup.php @@ -247,7 +247,7 @@ function show_user_form($user_name = '', $user_email = '', $errors = '') { * * @since 3.0.0 * - * @param WP_Error $errors A WP_Error object containing containing 'user_name' or 'user_email' errors. + * @param WP_Error $errors A WP_Error object containing 'user_name' or 'user_email' errors. */ do_action( 'signup_extra_fields', $errors ); }