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
This commit is contained in:
John Blackbourn 2020-06-19 22:28:13 +00:00
parent fe823d698f
commit 37234874a5
5 changed files with 7 additions and 7 deletions

View File

@ -308,7 +308,7 @@ class WP_Object_Cache {
* @since 5.5.0 * @since 5.5.0
* *
* @param array $keys Array of keys under which the cache contents are stored. * @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 * @param bool $force Optional. Whether to force an update of the local cache
* from the persistent cache. Default false. * from the persistent cache. Default false.
* @return array Array of values organized into groups. * @return array Array of values organized into groups.

View File

@ -935,7 +935,7 @@ function seems_utf8( $str ) {
* ", or ENT_QUOTES to do both. Default is ENT_NOQUOTES where no quotes are encoded. * ", or ENT_QUOTES to do both. Default is ENT_NOQUOTES where no quotes are encoded.
* *
* @since 1.2.2 * @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 * @access private
* *
* @staticvar string $_charset * @staticvar string $_charset

View File

@ -1586,7 +1586,7 @@ function wp_image_add_srcset_and_sizes( $image, $image_meta, $attachment_id ) {
* @since 5.5.0 * @since 5.5.0
* *
* @param string $tag_name The tag name. * @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. * @return bool Whether to add the attribute.
*/ */
function wp_lazy_loading_enabled( $tag_name, $context ) { function wp_lazy_loading_enabled( $tag_name, $context ) {
@ -1599,9 +1599,9 @@ function wp_lazy_loading_enabled( $tag_name, $context ) {
* *
* @since 5.5.0 * @since 5.5.0
* *
* @param bool $default Default value. * @param bool $default Default value.
* @param string $tag_name The tag name. * @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 ); return (bool) apply_filters( 'wp_lazy_loading_enabled', $default, $tag_name, $context );
} }

View File

@ -4716,7 +4716,7 @@ function wp_set_post_categories( $post_ID = 0, $post_categories = array(), $appe
* *
* @since 5.5.0 * @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() ); $default_category_post_types = apply_filters( 'default_category_post_types', array() );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.