From aa8f08b4d72d4650be08dbf302ef4e627733fd70 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 9 Sep 2017 13:52:46 +0000 Subject: [PATCH] Docs: Remove "since since" and "one one" dittography from inline comments. Fixes #41841. git-svn-id: https://develop.svn.wordpress.org/trunk@41355 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-manager.php | 2 +- src/wp-includes/customize/class-wp-customize-partial.php | 2 +- src/wp-includes/post.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 4fe5c6133f..e45efdaa11 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -2743,7 +2743,7 @@ final class WP_Customize_Manager { $stashed_theme_mod_settings = array(); } - // Delete any stashed theme mods for the active theme since since they would have been loaded and saved upon activation. + // Delete any stashed theme mods for the active theme since they would have been loaded and saved upon activation. unset( $stashed_theme_mod_settings[ $this->get_stylesheet() ] ); // Merge inactive theme mods with the stashed theme mod settings. diff --git a/src/wp-includes/customize/class-wp-customize-partial.php b/src/wp-includes/customize/class-wp-customize-partial.php index 10c480722e..c4ee52db6d 100644 --- a/src/wp-includes/customize/class-wp-customize-partial.php +++ b/src/wp-includes/customize/class-wp-customize-partial.php @@ -293,7 +293,7 @@ class WP_Customize_Partial { * * @since 4.5.0 * - * @return bool False if user can't edit one one of the related settings, + * @return bool False if user can't edit one of the related settings, * or if one of the associated settings does not exist. */ final public function check_capabilities() { diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 904d11d68d..3ea40d59fc 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -1240,7 +1240,7 @@ function unregister_post_type( $post_type ) { * @see map_meta_cap() * * @param object $args Post type registration arguments. - * @return object object with all the capabilities as member variables. + * @return object Object with all the capabilities as member variables. */ function get_post_type_capabilities( $args ) { if ( ! is_array( $args->capability_type ) )