- Timestamp:
- 09/12/2023 03:21:02 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php
r55988 r56559 382 382 383 383 $language_packs = array_map( 384 static function ( $item ) {384 static function ( $item ) { 385 385 return (object) $item; 386 386 }, … … 390 390 $language_packs = array_filter( 391 391 $language_packs, 392 static function ( $pack ) use ( $installed_locales ) {392 static function ( $pack ) use ( $installed_locales ) { 393 393 return in_array( $pack->language, $installed_locales, true ); 394 394 }
Note: See TracChangeset
for help on using the changeset viewer.