Changeset 13958
- Timestamp:
- 08/09/2024 01:41:45 AM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r13935 r13958 169 169 if ( ! $release ) { 170 170 // 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; 172 172 173 173 Plugin_Directory::add_release( … … 175 175 [ 176 176 'tag' => $svn_changed_tag, 177 'version' => $ version,177 'version' => $release_version, 178 178 'committer' => [ $last_committer ], 179 179 'revision' => [ $last_revision ] … … 200 200 'readme' => $readme, 201 201 'headers' => $headers, 202 'version' => $ version,202 'version' => $release_version, 203 203 ] 204 204 );
Note: See TracChangeset
for help on using the changeset viewer.