* Make sure the `wp_delete_temp_updater_backups` event has an action associated with it when it runs. * Check if the cron event already exists before scheduling it, to avoid scheduling duplicate events. * Move the code for clearing the `temp-backup` directory to a standalone function. Follow-up to [51815], [51898], [51899]. Props pbiron, johnbillion. See #51857. Built from https://develop.svn.wordpress.org/trunk@52192 git-svn-id: http://core.svn.wordpress.org/trunk@51784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
31 KiB
31 KiB