From 137443482cea102269c94774d096d5f3d47db59c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 9 Jun 2020 15:35:10 +0000 Subject: [PATCH] Docs: Fix typo in `WP_Widget::__construct()` and `::WP_Widget()` DocBlocks. Props SUM1. Fixes #50348. git-svn-id: https://develop.svn.wordpress.org/trunk@47936 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-widget.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/class-wp-widget.php b/src/wp-includes/class-wp-widget.php index d6e939bd99..eff0efda10 100644 --- a/src/wp-includes/class-wp-widget.php +++ b/src/wp-includes/class-wp-widget.php @@ -152,10 +152,10 @@ class WP_Widget { * @since 2.8.0 * * @param string $id_base Optional Base ID for the widget, lowercase and unique. If left empty, - * a portion of the widget's class name will be used Has to be unique. + * a portion of the widget's class name will be used. Has to be unique. * @param string $name Name for the widget displayed on the configuration page. - * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for information - * on accepted arguments. Default empty array. + * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for + * information on accepted arguments. Default empty array. * @param array $control_options Optional. Widget control options. See wp_register_widget_control() for * information on accepted arguments. Default empty array. */ @@ -182,10 +182,10 @@ class WP_Widget { * @see WP_Widget::__construct() * * @param string $id_base Optional Base ID for the widget, lowercase and unique. If left empty, - * a portion of the widget's class name will be used Has to be unique. + * a portion of the widget's class name will be used. Has to be unique. * @param string $name Name for the widget displayed on the configuration page. - * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for information - * on accepted arguments. Default empty array. + * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for + * information on accepted arguments. Default empty array. * @param array $control_options Optional. Widget control options. See wp_register_widget_control() for * information on accepted arguments. Default empty array. */