From 37234874a53f0a861dde5d3ec67e25cefb72b094 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 19 Jun 2020 22:28:13 +0000 Subject: [PATCH] Docs: Misc improvements to inline docs. See #49572. Built from https://develop.svn.wordpress.org/trunk@48099 git-svn-id: http://core.svn.wordpress.org/trunk@47868 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-object-cache.php | 2 +- wp-includes/formatting.php | 2 +- wp-includes/media.php | 6 +++--- wp-includes/post.php | 2 +- wp-includes/version.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-includes/class-wp-object-cache.php b/wp-includes/class-wp-object-cache.php index 8a3362cedf..c7fae5d057 100644 --- a/wp-includes/class-wp-object-cache.php +++ b/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/wp-includes/formatting.php b/wp-includes/formatting.php index adb8b38a80..5fdaf1600c 100644 --- a/wp-includes/formatting.php +++ b/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/wp-includes/media.php b/wp-includes/media.php index 1d42822b8f..969adf9d6d 100644 --- a/wp-includes/media.php +++ b/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/wp-includes/post.php b/wp-includes/post.php index 8ebc3a82f7..2d95c908cb 100644 --- a/wp-includes/post.php +++ b/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() ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9b17f0deff..643bc9c5bc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48098'; +$wp_version = '5.5-alpha-48099'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.