Making WordPress.org

Changeset 9285


Ignore:
Timestamp:
11/20/2019 07:00:31 AM (5 years ago)
Author:
dd32
Message:

Plugin Directory: Cron Tasks: Don't try to update the tested-up-to value to 5.3 from 5.3 when 5.3 is already the latest.

This is potentially what was causing extra memory usage that resulted in r9284.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-meta-sync.php

    r9284 r9285  
    162162        foreach ( $equivs as $latest_compatible_version => $compatible_with ) {
    163163            foreach ( $compatible_with as $version ) {
    164                 $latest_equiv[ $version ] = $latest_compatible_version;
     164                if ( $version != $latest_compatible_version ) {
     165                    $latest_equiv[ $version ] = $latest_compatible_version;
     166                }
    165167            }
    166168        }
Note: See TracChangeset for help on using the changeset viewer.