mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@51141 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1395,6 +1395,8 @@ final class WP_Customize_Widgets {
|
||||
*
|
||||
* @since 3.9.0
|
||||
*
|
||||
* @global WP_Widget_Factory $wp_widget_factory
|
||||
*
|
||||
* @param array $value Widget instance to sanitize.
|
||||
* @param string $id_base Base of the ID of the widget being sanitized.
|
||||
* @return array|void Sanitized widget instance.
|
||||
|
||||
Reference in New Issue
Block a user