Make WordPress Core


Ignore:
Timestamp:
11/11/2019 02:41:15 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of WP_Error.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r46644 r46696  
    622622     *
    623623     * @param string $setting_id Widget setting ID.
    624      * @return WP_Error|array Array containing a widget's id_base and number components,
     624     * @return array|WP_Error Array containing a widget's id_base and number components,
    625625     *                        or a WP_Error object.
    626626     */
     
    13931393     *
    13941394     * @param  string $widget_id Widget ID.
    1395      * @return WP_Error|array Array containing the updated widget information.
     1395     * @return array|WP_Error Array containing the updated widget information.
    13961396     *                        A WP_Error object, otherwise.
    13971397     */
Note: See TracChangeset for help on using the changeset viewer.