Docs: Correct unregister_block_style @param for $block_name.

In `unregister_block_style`, the `$block_name` parameter was documented as an array.  This change corrects the type to `string`, as that's what is expected in `WP_Block_Styles_Registry->unregister`. 

Props kraftner.
Fixes #52795.

git-svn-id: https://develop.svn.wordpress.org/trunk@50528 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
David Baumwald
2021-03-12 20:03:44 +00:00
parent 380d0445e8
commit 43443bdf15
+1 -1
View File
@@ -902,7 +902,7 @@ function register_block_style( $block_name, $style_properties ) {
* @since 5.3.0
*
* @param string $block_name Block type name including namespace.
* @param array $block_style_name Block style name.
* @param string $block_style_name Block style name.
* @return bool True if the block style was unregistered with success and false otherwise.
*/
function unregister_block_style( $block_name, $block_style_name ) {