From b7bacd1bf20b017760b3aa9d7af08d1ec9108b32 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 8 Oct 2010 02:35:06 +0000 Subject: [PATCH] s/Wether/Whether/ git-svn-id: http://svn.automattic.com/wordpress/trunk@15756 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/default-list-tables.php | 2 +- wp-admin/includes/list-table.php | 4 ++-- wp-includes/classes.php | 2 +- wp-includes/ms-blogs.php | 6 +++--- wp-includes/taxonomy.php | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/default-list-tables.php b/wp-admin/includes/default-list-tables.php index 76062db812..fe9709a026 100644 --- a/wp-admin/includes/default-list-tables.php +++ b/wp-admin/includes/default-list-tables.php @@ -12,7 +12,7 @@ class WP_Posts_Table extends WP_List_Table { /** - * Wether the items should be displayed hierarchically or linearly + * Whether the items should be displayed hierarchically or linearly * * @since 3.1.0 * @var bool diff --git a/wp-admin/includes/list-table.php b/wp-admin/includes/list-table.php index 233afffb4d..3fb4aea102 100644 --- a/wp-admin/includes/list-table.php +++ b/wp-admin/includes/list-table.php @@ -153,7 +153,7 @@ class WP_List_Table { } /** - * Wether the table has items to display or not + * Whether the table has items to display or not * * @since 3.1.0 * @access public @@ -540,7 +540,7 @@ class WP_List_Table { * @since 3.1.0 * @access protected * - * @param bool $with_id Wether to set the id attribute or not + * @param bool $with_id Whether to set the id attribute or not */ function print_column_headers( $with_id = true ) { $screen = $this->_screen; diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 74cee7ee7a..fb8e415d85 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -575,7 +575,7 @@ class WP_Object_Query { * - 'operator' string (optional) * Possible values: 'IN' and 'NOT IN'. * Default: 'IN' - * - 'include_children' bool (optional) Wether to include child terms. + * - 'include_children' bool (optional) Whether to include child terms. * Default: true * * @since 3.1.0 diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index a0d8f5b701..95e6be4139 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -421,7 +421,7 @@ function delete_blog_option( $id, $key ) { * @param int $id The blog id * @param string $key The option key * @param mixed $value The option value - * @param bool $refresh Wether to refresh blog details or not + * @param bool $refresh Whether to refresh blog details or not */ function update_blog_option( $id, $key, $value, $refresh = true ) { $id = (int) $id; @@ -449,7 +449,7 @@ function update_blog_option( $id, $key, $value, $refresh = true ) { * @since MU * * @param int $new_blog The id of the blog you want to switch to. Default: current blog - * @param bool $validate Wether to check if $new_blog exists before proceeding + * @param bool $validate Whether to check if $new_blog exists before proceeding * @return bool True on success, False if the validation failed */ function switch_to_blog( $new_blog, $validate = false ) { @@ -586,7 +586,7 @@ function restore_current_blog() { * @since MU * * @param int $id The blog id - * @return string Wether the blog is archived or not + * @return string Whether the blog is archived or not */ function is_archived( $id ) { return get_blog_status($id, 'archived'); diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 3b50a2d732..a270b2407b 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -440,10 +440,10 @@ function register_taxonomy_for_object_type( $taxonomy, $object_type) { * @param mixed $terms Term id/slug/name or array of such to match against * @param string|array $taxonomies String of taxonomy name or Array of string values of taxonomy names * @param array|string $args - * 'include_children' bool Wether to include term children (hierarchical taxonomies only) + * 'include_children' bool Whether to include term children (hierarchical taxonomies only) * 'field' string Which term field is being used. Can be 'term_id', 'slug' or 'name' * 'operator' string Can be 'IN' and 'NOT IN' - * 'do_query' bool Wether to execute the query or return the SQL string + * 'do_query' bool Whether to execute the query or return the SQL string * * @return WP_Error If the taxonomy does not exist * @return array The list of found object_ids