Changeset 5201
- Timestamp:
- 03/29/2017 11:11:00 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r5200 r5201 84 84 // Bump last updated if the version has changed, but only if this isn't a fresh import. 85 85 if ( !isset( $headers->Version ) || $headers->Version != get_post_meta( $plugin->ID, 'version', true ) ) { 86 if ( $plugin_existed_already ) { 87 $plugin->post_modified = $plugin->post_modified_gmt = current_time( 'mysql' ); 88 } 86 $plugin->post_modified = $plugin->post_modified_gmt = current_time( 'mysql' ); 89 87 } 90 88
Note: See TracChangeset
for help on using the changeset viewer.