Docs: Various docblock corrections for code added in 5.8.
Props johnbillion. See #53461. Built from https://develop.svn.wordpress.org/trunk@51221 git-svn-id: http://core.svn.wordpress.org/trunk@50830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user