Go to file
Ian Dunn 53b5112ca2 Privacy: Return before scheduling cron during install to avoid error.
r43046 introduced `wp_schedule_delete_old_privacy_export_files()` to schedule the `wp_privacy_delete_old_export_files` cron job, but it did not check to make sure it wasn't running in the context of the install process. When it did run in that context, it created a database error, because the necessary database tables don't exist at that point.

Checking the current context and returning early during the installation phase avoids that issue.

Props helen, timothyblynjacobs, iandunn.
Fixes #43952.


git-svn-id: https://develop.svn.wordpress.org/trunk@43162 602fd350-edb4-49c9-b593-d223f7449a82
2018-05-03 21:11:00 +00:00
src Privacy: Return before scheduling cron during install to avoid error. 2018-05-03 21:11:00 +00:00
tests Privacy: rename manage_privacy_policy to manage_privacy_options. 2018-05-03 19:30:49 +00:00
tools/i18n Remove the svn:executable property from files that don't need it. 2017-11-17 02:57:27 +00:00
.editorconfig General: Instruct file editors not to trim trailing whitespace in markdown files. 2018-03-20 22:14:53 +00:00
.gitignore Build/Test Tools: Remove vendor file name entry from .gitignore. 2018-02-25 11:29:25 +00:00
.jshintrc General: Remove .jshintrc and *.json from the 2-space-indent .editorconfig group. 2017-10-12 01:57:45 +00:00
.travis.yml BUILD/TEST TOOLS: Report Travis test results to make/hosting PHPUnit test results 2018-01-16 20:28:42 +00:00
composer.json Build Tools: Update the description in package.json and composer.json. 2018-04-05 07:15:25 +00:00
composer.lock Build Tools: Add a composer.json for development environments. 2018-04-05 07:04:08 +00:00
Gruntfile.js Media: Update minified version of imgAreaSelect after [42874]. 2018-04-03 19:45:39 +00:00
jsdoc.conf.json Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:41:56 +00:00
package.json Wow. I really shouldn't try to fix the build. 2018-04-19 00:25:52 +00:00
phpcs.xml.dist Build/Test Tools: Don't trigger the global variable override PHPCS sniff for core. 2018-04-28 00:44:50 +00:00
phpunit.xml.dist Build/Test Tools: Allow code coverage reports to be generated. 2018-02-07 22:20:25 +00:00
webpack.config.dev.js
webpack.config.prod.js
wp-cli.yml
wp-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wp-tests-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00