Docs: Misc improvements to inline docs.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48099 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4b1b525f31
commit
b34efdd38a
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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 );
|
||||
}
|
||||
|
@ -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() );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user