diff --git a/src/wp-includes/class-wp-object-cache.php b/src/wp-includes/class-wp-object-cache.php index 8a3362cedf..c7fae5d057 100644 --- a/src/wp-includes/class-wp-object-cache.php +++ b/src/wp-includes/class-wp-object-cache.php @@ -308,7 +308,7 @@ class WP_Object_Cache { * @since 5.5.0 * * @param array $keys Array of keys under which the cache contents are stored. - * @param string $group Optional. Where the cache contents are grouped. Default empty. + * @param string $group Optional. Where the cache contents are grouped. Default 'default'. * @param bool $force Optional. Whether to force an update of the local cache * from the persistent cache. Default false. * @return array Array of values organized into groups. diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 843dc897b9..6c652d3b07 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -935,7 +935,7 @@ function seems_utf8( $str ) { * ", or ENT_QUOTES to do both. Default is ENT_NOQUOTES where no quotes are encoded. * * @since 1.2.2 - * @since 5.5.0 `$quote_style` also accepts '`ENT_XML1`. + * @since 5.5.0 `$quote_style` also accepts `ENT_XML1`. * @access private * * @staticvar string $_charset diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 1d42822b8f..969adf9d6d 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -1586,7 +1586,7 @@ function wp_image_add_srcset_and_sizes( $image, $image_meta, $attachment_id ) { * @since 5.5.0 * * @param string $tag_name The tag name. - * @param string $context Additional context, like the current filter name or the function name from where this was called. + * @param string $context Additional context, like the current filter name or the function name from where this was called. * @return bool Whether to add the attribute. */ function wp_lazy_loading_enabled( $tag_name, $context ) { @@ -1599,9 +1599,9 @@ function wp_lazy_loading_enabled( $tag_name, $context ) { * * @since 5.5.0 * - * @param bool $default Default value. + * @param bool $default Default value. * @param string $tag_name The tag name. - * @param string $context Additional context, like the current filter name or the function name from where this was called. + * @param string $context Additional context, like the current filter name or the function name from where this was called. */ return (bool) apply_filters( 'wp_lazy_loading_enabled', $default, $tag_name, $context ); } diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 8ebc3a82f7..2d95c908cb 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -4716,7 +4716,7 @@ function wp_set_post_categories( $post_ID = 0, $post_categories = array(), $appe * * @since 5.5.0 * - * @param array $post_types An array of post types. Default empty array. + * @param string[] $post_types An array of post type names. Default empty array. */ $default_category_post_types = apply_filters( 'default_category_post_types', array() );