Changeset 12175 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
- Timestamp:
- 11/01/2022 05:41:04 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
r10230 r12175 24 24 add_action( 'plugin_directory_update_api_check', array( __NAMESPACE__ . '\API_Update_Updater', 'cron_trigger' ) ); 25 25 add_action( 'plugin_directory_translation_sync', array( __NAMESPACE__ . '\Translation_Sync', 'cron_trigger' ) ); 26 add_action( 'plugin_directory_zip_cleanup', array( __NAMESPACE__ . '\Zip_Cleanup', 'cron_trigger' ) ); 26 27 27 28 // A cronjob to check cronjobs … … 259 260 wp_schedule_event( time() + 60, 'daily', 'plugin_directory_translation_sync' ); 260 261 } 262 if ( ! wp_next_scheduled ( 'plugin_directory_zip_cleanup' ) ) { 263 wp_schedule_event( time() + 60, 'daily', 'plugin_directory_zip_cleanup' ); 264 } 261 265 262 266 // Check to see if `WP_CORE_LATEST_RELEASE` has changed since we last ran.
Note: See TracChangeset
for help on using the changeset viewer.