- Timestamp:
- 08/26/2021 12:57:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-widget-types-controller.php
r51235 r51657 150 150 $text_widgets = array_filter( 151 151 $data, 152 function( $widget ) {152 static function( $widget ) { 153 153 return 'text' === $widget['id']; 154 154 } … … 178 178 $widget_id, 179 179 'WP legacy widget', 180 function() {}180 static function() {} 181 181 ); 182 182 wp_set_current_user( self::$admin_id ); … … 209 209 $widget_id, 210 210 '‘Legacy ‑ Archive ‑ Widget’', 211 function() {},211 static function() {}, 212 212 array( 213 213 'description' => '“A great & interesting archive of your site’s posts!”',
Note: See TracChangeset
for help on using the changeset viewer.