Build/Test Tools: Use trunk revision 2387243 of the WordPress Importer plugin.

This revision includes a change to only call `libxml_disable_entity_loader()` in PHP < 8, in order for unit tests in the `import` group to pass on PHP 8.

This function has been deprecated in PHP 8.0 because in libxml 2.9.0, external entity loading is disabled by default, so this function is no longer needed to protect against XXE attacks.

Follow-up to [46542], [48789].

Props jrf.
See #50913.

git-svn-id: https://develop.svn.wordpress.org/trunk@49039 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-09-23 18:37:09 +00:00
parent 7826f31e26
commit 185ad1e116
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ jobs:
before_install: before_install:
- | - |
if [[ "$WP_TRAVISCI" == "test:php" ]]; then if [[ "$WP_TRAVISCI" == "test:php" ]]; then
travis_retry svn checkout -r 2170172 https://plugins.svn.wordpress.org/wordpress-importer/trunk/ tests/phpunit/data/plugins/wordpress-importer travis_retry svn checkout -r 2387243 https://plugins.svn.wordpress.org/wordpress-importer/trunk/ tests/phpunit/data/plugins/wordpress-importer
fi fi
- | - |
sudo rm /usr/local/bin/docker-compose sudo rm /usr/local/bin/docker-compose