mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: In various @return tags, list the expected type first, instead of WP_Error.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -621,7 +621,7 @@ final class WP_Customize_Widgets {
|
||||
* @since 3.9.0
|
||||
*
|
||||
* @param string $setting_id Widget setting ID.
|
||||
* @return WP_Error|array Array containing a widget's id_base and number components,
|
||||
* @return array|WP_Error Array containing a widget's id_base and number components,
|
||||
* or a WP_Error object.
|
||||
*/
|
||||
public function parse_widget_setting_id( $setting_id ) {
|
||||
@@ -1392,7 +1392,7 @@ final class WP_Customize_Widgets {
|
||||
* @global array $wp_registered_widget_controls
|
||||
*
|
||||
* @param string $widget_id Widget ID.
|
||||
* @return WP_Error|array Array containing the updated widget information.
|
||||
* @return array|WP_Error Array containing the updated widget information.
|
||||
* A WP_Error object, otherwise.
|
||||
*/
|
||||
public function call_widget_update( $widget_id ) {
|
||||
|
||||
Reference in New Issue
Block a user