Docs: Various docblock corrections for code added in 5.8.

Props johnbillion.
See #53461.

git-svn-id: https://develop.svn.wordpress.org/trunk@51221 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2021-06-23 19:04:51 +00:00
parent 10111200c9
commit 3073bb0f19
13 changed files with 98 additions and 113 deletions

View File

@@ -98,7 +98,7 @@ class WP_Widget_Block extends WP_Widget {
*
* @since 5.8.0
*
* @param array $content The HTML content of the current block widget.
* @param string $content The HTML content of the current block widget.
*
* @return string The classname to use in the block widget's container HTML.
*/
@@ -191,9 +191,9 @@ class WP_Widget_Block extends WP_Widget {
*
* @since 5.8.0
*
* @param array $instance Current instance.
*
* @see WP_Widget_Custom_HTML::render_control_template_scripts()
*
* @param array $instance Current instance.
*/
public function form( $instance ) {
$instance = wp_parse_args( (array) $instance, $this->default_instance );