Changeset 51521
- Timestamp:
- 07/31/2021 10:31:51 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r51497 r51521 1657 1657 1658 1658 $dirs = glob( $directory . '*', GLOB_ONLYDIR ); 1659 $dirs = array_filter( 1660 $dirs, 1661 function( $dir ) { 1662 // Skip any node_modules directories. 1663 return false === strpos( $dir, 'node_modules' ); 1664 } 1665 ); 1659 1666 1660 1667 if ( $dirs ) {
Note: See TracChangeset
for help on using the changeset viewer.