Changeset 6287 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-api-update-updater.php
- Timestamp:
- 12/19/2017 04:22:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-api-update-updater.php
r6195 r6287 58 58 59 59 if ( ! $post || ! in_array( $post->post_status, array( 'publish', 'disabled', 'closed' ) ) ) { 60 $wpdb->delete( 60 $wpdb->delete( $wpdb->prefix . 'update_source', compact( 'plugin_slug' ) ); 61 61 return true; 62 62 } 63 63 64 $data = array(64 $data = array( 65 65 'plugin_id' => $post->ID, 66 66 'plugin_slug' => $post->post_name, … … 102 102 103 103 foreach ( $locales as $locale ) { 104 $cache_key = "plugin_information:"104 $cache_key = 'plugin_information:' 105 105 . ( strlen( $plugin_slug ) > 200 ? 'md5:' . md5( $plugin_slug ) : $plugin_slug ) 106 106 . ":{$locale}";
Note: See TracChangeset
for help on using the changeset viewer.