From 318455ff244aeefa05c715f27499ecd1e6aeb3af Mon Sep 17 00:00:00 2001 From: Konstantin Kovshenin Date: Sun, 6 Dec 2015 21:49:43 +0000 Subject: [PATCH] Docs: Remove some more dittography. See #34885, r35793. git-svn-id: https://develop.svn.wordpress.org/trunk@35796 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-list-table.php | 2 +- src/wp-admin/includes/file.php | 2 +- src/wp-includes/date.php | 2 +- src/wp-includes/functions.wp-scripts.php | 2 +- src/wp-includes/theme.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 6467280fb3..753386b68c 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -1176,7 +1176,7 @@ class WP_List_Table { } /** - * Get a list of CSS classes for the list table table tag. + * Get a list of CSS classes for the list table tag. * * @since 3.1.0 * @access protected diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 3b4d1c6e4c..b4a58a40a3 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -184,7 +184,7 @@ function wp_tempnam( $filename = '', $dir = '' ) { /** * Make sure that the file that was requested to edit, is allowed to be edited * - * Function will die if if you are not allowed to edit the file + * Function will die if you are not allowed to edit the file * * @since 1.5.0 * diff --git a/src/wp-includes/date.php b/src/wp-includes/date.php index e10ef4f861..ace3e41bdf 100644 --- a/src/wp-includes/date.php +++ b/src/wp-includes/date.php @@ -853,7 +853,7 @@ class WP_Date_Query { * * You can pass an array of values (year, month, etc.) with missing parameter values being defaulted to * either the maximum or minimum values (controlled by the $default_to parameter). Alternatively you can - * pass a string that that will be run through strtotime(). + * pass a string that will be run through strtotime(). * * @since 3.7.0 * @access public diff --git a/src/wp-includes/functions.wp-scripts.php b/src/wp-includes/functions.wp-scripts.php index 01ad19b1c2..a3ac7e60fc 100644 --- a/src/wp-includes/functions.wp-scripts.php +++ b/src/wp-includes/functions.wp-scripts.php @@ -263,7 +263,7 @@ function wp_dequeue_script( $handle ) { * @param string $handle Name of the script. * @param string $list Optional. Status of the script to check. Default 'enqueued'. * Accepts 'enqueued', 'registered', 'queue', 'to_do', and 'done'. - * @return bool Whether the script script is queued. + * @return bool Whether the script is queued. */ function wp_script_is( $handle, $list = 'enqueued' ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 47c9661778..87766a2874 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -723,7 +723,7 @@ function switch_theme( $stylesheet ) { } else { /* * Since retrieve_widgets() is called when initializing a theme in the Customizer, - * we need to to remove the theme mods to avoid overwriting changes made via + * we need to remove the theme mods to avoid overwriting changes made via * the Customizer when accessing wp-admin/widgets.php. */ if ( 'wp_ajax_customize_save' === current_action() ) {