Changeset 4727
- Timestamp:
- 01/19/2017 04:33:23 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r4657 r4727 4 4 use WordPressdotorg\Plugin_Directory\Readme\Parser; 5 5 use WordPressdotorg\Plugin_Directory\Template; 6 use WordPressdotorg\Plugin_Directory\Jobs\API_Update_Updater; 6 7 use WordPressdotorg\Plugin_Directory\Tools; 7 8 use WordPressdotorg\Plugin_Directory\Tools\Filesystem; … … 193 194 // Finally, set the new version live. 194 195 update_post_meta( $plugin->ID, 'stable_tag', $stable_tag ); 196 197 // Ensure that the API gets the updated data 198 API_Update_Updater::update_single_plugin( $plugin->post_name ); 195 199 196 200 return true; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
r4523 r4727 19 19 20 20 // The actual cron hooks. 21 add_action( 'plugin_directory_meta_sync', array( __NAMESPACE__ . '\Meta_Sync', 'cron_trigger' ) );22 add_action( 'plugin_directory_svn_sync', array( __NAMESPACE__ . '\SVN_Watcher', 'cron_trigger' ) );23 21 add_action( 'plugin_directory_meta_sync', array( __NAMESPACE__ . '\Meta_Sync', 'cron_trigger' ) ); 22 add_action( 'plugin_directory_svn_sync', array( __NAMESPACE__ . '\SVN_Watcher', 'cron_trigger' ) ); 23 add_action( 'plugin_directory_update_api_check', array( __NAMESPACE__ . '\API_Update_Updater', 'cron_trigger' ) ); 24 24 25 25 // Register the wildcard cron hook tasks. … … 134 134 wp_schedule_event( time(), 'every_30s', 'plugin_directory_svn_sync' ); 135 135 } 136 if ( ! wp_next_scheduled ( 'plugin_directory_update_api_check' ) ) { 137 wp_schedule_event( time(), 'hourly', 'plugin_directory_update_api_check' ); 138 } 136 139 } 137 140 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/zip/class-builder.php
r3321 r4727 202 202 $this->exec( sprintf( 203 203 'mv -f %s %s', 204 $this->tmp_build_file,205 $this->zip_file204 escapeshellarg( $this->tmp_build_file ), 205 escapeshellarg( $this->zip_file ) 206 206 ), $output, $return_value ); 207 207
Note: See TracChangeset
for help on using the changeset viewer.