mirror of
git://develop.git.wordpress.org/
synced 2025-03-24 22:10:02 +01: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:
parent
132984c20f
commit
24f57d1227
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user