Changeset 62550 for trunk/src/wp-includes/class-wp-scripts.php
- Timestamp:
- 06/23/2026 01:53:35 PM (32 hours ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-scripts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-scripts.php
r62368 r62550 851 851 } 852 852 853 foreach ( (array) $this->default_dirs as $test ) { 854 if ( str_starts_with( $src, $test ) ) { 855 return true; 856 } 857 } 858 return false; 853 return array_any( (array) $this->default_dirs, fn( $test ) => str_starts_with( $src, $test ) ); 859 854 } 860 855
Note: See TracChangeset
for help on using the changeset viewer.