Making WordPress.org

Changeset 13958


Ignore:
Timestamp:
08/09/2024 01:41:45 AM (5 weeks ago)
Author:
dd32
Message:

Plugin Directory: Rename a variable, to see if this has caused the public version to change before a release is confirmed.

See #7742.

File:
1 edited

Legend:

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

    r13935 r13958  
    169169                if ( ! $release ) {
    170170                    // Use the actual version for stable releases, otherwise fallback to the tag name, as we don't have the actual header data.
    171                     $version = ( $svn_changed_tag === $stable_tag ) ? $version : $svn_changed_tag;
     171                    $release_version = ( $svn_changed_tag === $stable_tag ) ? $version : $svn_changed_tag;
    172172
    173173                    Plugin_Directory::add_release(
     
    175175                        [
    176176                            'tag'       => $svn_changed_tag,
    177                             'version'   => $version,
     177                            'version'   => $release_version,
    178178                            'committer' => [ $last_committer ],
    179179                            'revision'  => [ $last_revision ]
     
    200200                            'readme'  => $readme,
    201201                            'headers' => $headers,
    202                             'version' => $version,
     202                            'version' => $release_version,
    203203                        ]
    204204                    );
Note: See TracChangeset for help on using the changeset viewer.