WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/14/2021 11:01:42 AM (6 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document the usage of $wp_widget_factory global in WP_Customize_Widgets::sanitize_widget_instance().

Follow-up to [50996].

Props jontyravi, audrasjb.
Fixes #53394.

File:
1 edited

Legend:

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

    r51037 r51141  
    13961396     * @since 3.9.0
    13971397     *
     1398     * @global WP_Widget_Factory $wp_widget_factory
     1399     *
    13981400     * @param array $value Widget instance to sanitize.
    13991401     * @param string $id_base Base of the ID of the widget being sanitized.
Note: See TracChangeset for help on using the changeset viewer.