Build/Test Tools: Ignore sourceMaps for non WordPress Core files.

If a custom plugin or theme exists in the `build/wp-content` directory with a sourcemap, the build` script is currently returning a warning and failing.

This improves the `verify:source-maps` task in Grunt to ignore directories and files that do not belong to WordPress Core.

Props ryelle, afragen, johnbillion.
Fixes #52689.
Built from https://develop.svn.wordpress.org/trunk@51173


git-svn-id: http://core.svn.wordpress.org/trunk@50782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-06-16 22:57:59 +00:00
parent f6bff0572f
commit fcd47d289e

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-beta2-51172';
$wp_version = '5.8-beta2-51173';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.