diff --git a/wp-includes/version.php b/wp-includes/version.php index fee0ed246b..dec778f7a0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47054'; +$wp_version = '5.4-alpha-47055'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-custom-html.php b/wp-includes/widgets/class-wp-widget-custom-html.php index d628f51563..0d8a67339d 100644 --- a/wp-includes/widgets/class-wp-widget-custom-html.php +++ b/wp-includes/widgets/class-wp-widget-custom-html.php @@ -238,6 +238,7 @@ class WP_Widget_Custom_HTML extends WP_Widget { * @since 4.9.0 The form contains only hidden sync inputs. For the control UI, see `WP_Widget_Custom_HTML::render_control_template_scripts()`. * * @see WP_Widget_Custom_HTML::render_control_template_scripts() + * * @param array $instance Current instance. */ public function form( $instance ) { diff --git a/wp-includes/widgets/class-wp-widget-media-audio.php b/wp-includes/widgets/class-wp-widget-media-audio.php index 0f299adeb9..5445746eec 100644 --- a/wp-includes/widgets/class-wp-widget-media-audio.php +++ b/wp-includes/widgets/class-wp-widget-media-audio.php @@ -60,6 +60,7 @@ class WP_Widget_Media_Audio extends WP_Widget_Media { * @see WP_REST_Controller::get_item_schema() * @see WP_REST_Controller::get_additional_fields() * @link https://core.trac.wordpress.org/ticket/35574 + * * @return array Schema for properties. */ public function get_instance_schema() { @@ -96,7 +97,6 @@ class WP_Widget_Media_Audio extends WP_Widget_Media { * @since 4.8.0 * * @param array $instance Widget instance props. - * @return void */ public function render_media( $instance ) { $instance = array_merge( wp_list_pluck( $this->get_instance_schema(), 'default' ), $instance ); diff --git a/wp-includes/widgets/class-wp-widget-media-gallery.php b/wp-includes/widgets/class-wp-widget-media-gallery.php index 9743b81c3a..40cc5c2ba4 100644 --- a/wp-includes/widgets/class-wp-widget-media-gallery.php +++ b/wp-includes/widgets/class-wp-widget-media-gallery.php @@ -51,6 +51,7 @@ class WP_Widget_Media_Gallery extends WP_Widget_Media { * @see WP_REST_Controller::get_item_schema() * @see WP_REST_Controller::get_additional_fields() * @link https://core.trac.wordpress.org/ticket/35574 + * * @return array Schema for properties. */ public function get_instance_schema() { @@ -108,7 +109,6 @@ class WP_Widget_Media_Gallery extends WP_Widget_Media { * @since 4.9.0 * * @param array $instance Widget instance props. - * @return void */ public function render_media( $instance ) { $instance = array_merge( wp_list_pluck( $this->get_instance_schema(), 'default' ), $instance ); diff --git a/wp-includes/widgets/class-wp-widget-media-image.php b/wp-includes/widgets/class-wp-widget-media-image.php index fb284ad6e7..9496176959 100644 --- a/wp-includes/widgets/class-wp-widget-media-image.php +++ b/wp-includes/widgets/class-wp-widget-media-image.php @@ -59,6 +59,7 @@ class WP_Widget_Media_Image extends WP_Widget_Media { * @see WP_REST_Controller::get_item_schema() * @see WP_REST_Controller::get_additional_fields() * @link https://core.trac.wordpress.org/ticket/35574 + * * @return array Schema for properties. */ public function get_instance_schema() { @@ -172,7 +173,6 @@ class WP_Widget_Media_Image extends WP_Widget_Media { * @since 4.8.0 * * @param array $instance Widget instance props. - * @return void */ public function render_media( $instance ) { $instance = array_merge( wp_list_pluck( $this->get_instance_schema(), 'default' ), $instance ); diff --git a/wp-includes/widgets/class-wp-widget-media-video.php b/wp-includes/widgets/class-wp-widget-media-video.php index 023057d9cb..993af35a65 100644 --- a/wp-includes/widgets/class-wp-widget-media-video.php +++ b/wp-includes/widgets/class-wp-widget-media-video.php @@ -61,6 +61,7 @@ class WP_Widget_Media_Video extends WP_Widget_Media { * @see WP_REST_Controller::get_item_schema() * @see WP_REST_Controller::get_additional_fields() * @link https://core.trac.wordpress.org/ticket/35574 + * * @return array Schema for properties. */ public function get_instance_schema() { @@ -107,8 +108,6 @@ class WP_Widget_Media_Video extends WP_Widget_Media { * @since 4.8.0 * * @param array $instance Widget instance props. - * - * @return void */ public function render_media( $instance ) { $instance = array_merge( wp_list_pluck( $this->get_instance_schema(), 'default' ), $instance ); diff --git a/wp-includes/widgets/class-wp-widget-media.php b/wp-includes/widgets/class-wp-widget-media.php index d61e117471..029928f230 100644 --- a/wp-includes/widgets/class-wp-widget-media.php +++ b/wp-includes/widgets/class-wp-widget-media.php @@ -127,6 +127,7 @@ abstract class WP_Widget_Media extends WP_Widget { * @see WP_REST_Controller::get_item_schema() * @see WP_REST_Controller::get_additional_fields() * @link https://core.trac.wordpress.org/ticket/35574 + * * @return array Schema for properties. */ public function get_instance_schema() { @@ -320,8 +321,8 @@ abstract class WP_Widget_Media extends WP_Widget { * @since 4.8.0 * * @see \WP_Widget_Media::render_control_template_scripts() Where the JS template is located. + * * @param array $instance Current settings. - * @return void */ final public function form( $instance ) { $instance_schema = $this->get_instance_schema(); diff --git a/wp-includes/widgets/class-wp-widget-text.php b/wp-includes/widgets/class-wp-widget-text.php index 642556ce99..1c4ffa6bbe 100644 --- a/wp-includes/widgets/class-wp-widget-text.php +++ b/wp-includes/widgets/class-wp-widget-text.php @@ -344,6 +344,7 @@ class WP_Widget_Text extends WP_Widget { * @since 4.9.0 * * @see WP_Widget_Media_Video::inject_video_max_width_style() + * * @param array $matches Pattern matches from preg_replace_callback. * @return string HTML Output. */ @@ -441,11 +442,11 @@ class WP_Widget_Text extends WP_Widget { * @since 2.8.0 * @since 4.8.0 Form only contains hidden inputs which are synced with JS template. * @since 4.8.1 Restored original form to be displayed when in legacy mode. + * * @see WP_Widget_Text::render_control_template_scripts() * @see _WP_Editors::editor() * * @param array $instance Current settings. - * @return void */ public function form( $instance ) { $instance = wp_parse_args(