From ec571bdcf6dd8d61be2d590b4c5143b4f17ef7e1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 2 Jul 2020 11:30:02 +0000 Subject: [PATCH] Docs: Spell "falsey" in a consistent way. See #49572. Built from https://develop.svn.wordpress.org/trunk@48275 git-svn-id: http://core.svn.wordpress.org/trunk@48044 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-block-type.php | 3 +-- wp-includes/class-wp-comment-query.php | 2 +- wp-includes/general-template.php | 3 ++- wp-includes/media.php | 4 ++-- .../rest-api/endpoints/class-wp-rest-terms-controller.php | 2 +- wp-includes/version.php | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/class-wp-block-type.php b/wp-includes/class-wp-block-type.php index 3052affdc1..572c3c39c1 100644 --- a/wp-includes/class-wp-block-type.php +++ b/wp-includes/class-wp-block-type.php @@ -267,8 +267,7 @@ class WP_Block_Type { * * @since 5.5.0 * - * @param array $args Array of arguments for registering a - * block type. + * @param array $args Array of arguments for registering a block type. * @param string $block_type Block type name including namespace. */ $args = apply_filters( 'register_block_type_args', $args, $this->name ); diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php index b873ab0f43..d9947bb2e1 100644 --- a/wp-includes/class-wp-comment-query.php +++ b/wp-includes/class-wp-comment-query.php @@ -782,7 +782,7 @@ class WP_Comment_Query { $this->sql_clauses['where']['user_id'] = $wpdb->prepare( 'user_id = %d', $this->query_vars['user_id'] ); } - // Falsy search strings are ignored. + // Falsey search strings are ignored. if ( strlen( $this->query_vars['search'] ) ) { $search_sql = $this->get_search_sql( $this->query_vars['search'], diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index d2eccbb617..4ca99c9eec 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -3910,7 +3910,8 @@ function wp_get_code_editor_settings( $args ) { * * @since 4.9.0 * - * @param array $settings The array of settings passed to the code editor. A falsey value disables the editor. + * @param array $settings The array of settings passed to the code editor. + * A falsey value disables the editor. * @param array $args { * Args passed when calling `get_code_editor_settings()`. * diff --git a/wp-includes/media.php b/wp-includes/media.php index 74796210e2..5fe27ba113 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1731,8 +1731,8 @@ function wp_img_tag_add_loading_attr( $image, $context ) { * * @since 5.5.0 * - * @param string|bool $value The `loading` attribute value. Returning a false-y value will result in the - * attribute being omitted for the image. Default is `lazy`. + * @param string|bool $value The `loading` attribute value. Returning a falsey value will result in + * the attribute being omitted for the image. Default is `lazy`. * @param string $image The HTML `img` tag to be filtered. * @param string $context Additional context about how the function was called or where the img tag is. */ diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php index 6ff5978d3c..e444d26839 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php @@ -265,7 +265,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller { $total_terms = wp_count_terms( $this->taxonomy, $count_args ); - // wp_count_terms() can return a falsy value when the term has no children. + // wp_count_terms() can return a falsey value when the term has no children. if ( ! $total_terms ) { $total_terms = 0; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5da1b6182e..a33e30dca0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48274'; +$wp_version = '5.5-alpha-48275'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.