Docs: Miscellaneous corrections and improvements to docblocks.

See #57840

Built from https://develop.svn.wordpress.org/trunk@55870


git-svn-id: http://core.svn.wordpress.org/trunk@55382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2023-05-30 17:45:21 +00:00
parent 37e599fb3e
commit bb9b9d17f4
4 changed files with 22 additions and 12 deletions

View File

@@ -3087,7 +3087,15 @@ function wp_enqueue_stored_styles( $options = array() ) {
* @since 5.9.0
*
* @param string $block_name The block-name, including namespace.
* @param array $args An array of arguments [handle,src,deps,ver,media].
* @param array $args {
* An array of arguments. See wp_register_style() for full information about each argument.
*
* @type string $handle The handle for the stylesheet.
* @type string|false $src The source URL of the stylesheet.
* @type string[] $deps Array of registered stylesheet handles this stylesheet depends on.
* @type string|bool|null $ver Stylesheet version number.
* @type string $media The media for which this stylesheet has been defined.
* }
*/
function wp_enqueue_block_style( $block_name, $args ) {
$args = wp_parse_args(