Making WordPress.org

Changeset 5201


Ignore:
Timestamp:
03/29/2017 11:11:00 PM (9 years ago)
Author:
dd32
Message:

Plugin Directory: Remove a stray extra conditional after r5200.
See #2635

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php

    r5200 r5201  
    8484                // Bump last updated if the version has changed, but only if this isn't a fresh import.
    8585                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' );
    8987                }
    9088
Note: See TracChangeset for help on using the changeset viewer.