s/Wether/Whether/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
137796ddbd
commit
b7bacd1bf2
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue