Changeset 51142
- Timestamp:
- 06/14/2021 03:15:26 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r51141 r51142 829 829 ); 830 830 831 // TODO: Update 'wp-customize-widgets' to not rely so much on things in 832 // 'customize-widgets'. This will let us skip most of the above and not 833 // enqueue 'customize-widgets' which saves bytes. 831 /* 832 * TODO: Update 'wp-customize-widgets' to not rely so much on things in 833 * 'customize-widgets'. This will let us skip most of the above and not 834 * enqueue 'customize-widgets' which saves bytes. 835 */ 834 836 835 837 if ( wp_use_widgets_block_editor() ) { … … 1395 1397 * 1396 1398 * @since 3.9.0 1399 * @since 5.8.0 Added the `$id_base` parameter. 1397 1400 * 1398 1401 * @global WP_Widget_Factory $wp_widget_factory 1399 1402 * 1400 * @param array $valueWidget instance to sanitize.1401 * @param string $id_base Base of the ID of the widget being sanitized.1403 * @param array $value Widget instance to sanitize. 1404 * @param string $id_base Optional. Base of the ID of the widget being sanitized. Default null. 1402 1405 * @return array|void Sanitized widget instance. 1403 1406 */ … … 1445 1448 * 1446 1449 * @since 3.9.0 1447 * 1448 * @param array $value Widget instance to convert to JSON. 1449 * @param string $id_base Base of the ID of the widget being sanitized. 1450 * @since 5.8.0 Added the `$id_base` parameter. 1451 * 1452 * @global WP_Widget_Factory $wp_widget_factory 1453 * 1454 * @param array $value Widget instance to convert to JSON. 1455 * @param string $id_base Optional. Base of the ID of the widget being sanitized. Default null. 1450 1456 * @return array JSON-converted widget instance. 1451 1457 */
Note: See TracChangeset
for help on using the changeset viewer.