Changeset 48275
- Timestamp:
- 07/02/2020 11:28:13 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-type.php
r48263 r48275 268 268 * @since 5.5.0 269 269 * 270 * @param array $args Array of arguments for registering a 271 * block type. 270 * @param array $args Array of arguments for registering a block type. 272 271 * @param string $block_type Block type name including namespace. 273 272 */ -
trunk/src/wp-includes/class-wp-comment-query.php
r48104 r48275 783 783 } 784 784 785 // Fals y search strings are ignored.785 // Falsey search strings are ignored. 786 786 if ( strlen( $this->query_vars['search'] ) ) { 787 787 $search_sql = $this->get_search_sql( -
trunk/src/wp-includes/general-template.php
r48209 r48275 3911 3911 * @since 4.9.0 3912 3912 * 3913 * @param array $settings The array of settings passed to the code editor. A falsey value disables the editor. 3913 * @param array $settings The array of settings passed to the code editor. 3914 * A falsey value disables the editor. 3914 3915 * @param array $args { 3915 3916 * Args passed when calling `get_code_editor_settings()`. -
trunk/src/wp-includes/media.php
r48272 r48275 1732 1732 * @since 5.5.0 1733 1733 * 1734 * @param string|bool $value The `loading` attribute value. Returning a false -y value will result in the1735 * attribute being omitted for the image. Default is `lazy`.1734 * @param string|bool $value The `loading` attribute value. Returning a falsey value will result in 1735 * the attribute being omitted for the image. Default is `lazy`. 1736 1736 * @param string $image The HTML `img` tag to be filtered. 1737 1737 * @param string $context Additional context about how the function was called or where the img tag is. -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r48100 r48275 266 266 $total_terms = wp_count_terms( $this->taxonomy, $count_args ); 267 267 268 // wp_count_terms() can return a fals y value when the term has no children.268 // wp_count_terms() can return a falsey value when the term has no children. 269 269 if ( ! $total_terms ) { 270 270 $total_terms = 0; -
trunk/tests/phpunit/tests/media.php
r48272 r48275 2765 2765 * @dataProvider data_wp_lazy_loading_enabled_tag_name_defaults 2766 2766 * 2767 * @param string $tag_name Function context.2767 * @param string $tag_name Tag name. 2768 2768 * @param bool $expected Expected return value. 2769 2769 */ -
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r47265 r48275 2496 2496 } 2497 2497 2498 public function test_create_post_with_fals y_password() {2498 public function test_create_post_with_falsey_password() { 2499 2499 wp_set_current_user( self::$editor_id ); 2500 2500
Note: See TracChangeset
for help on using the changeset viewer.