WordPress.org

Make WordPress Core

Opened 15 months ago

Last modified 15 months ago

#40241 new defect (bug)

Showing wrong Core current version on the update page.

Reported by: thamaraiselvam Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: Upgrade/Install Keywords:
Focuses: administration Cc:

Description

I am using development version 4.8-alpha-40312 but in the update page it shows stable version. 4.7.3

If you need to re-install version 4.7.3, you can do so here:

I checked in the wp-admin/update-core.php and found this

<?php
foreach ( (array) $updates as $update ) {
    echo '<li>';
    list_core_update( $update );
    echo '</li>';
}

This line $updates should be $updates[0] to get latest version on wordpress.

array (
  0 => 
  stdClass::__set_state(array(
     'response' => 'development',
     'download' => 'https://wordpress.org/nightly-builds/wordpress-latest.zip',
     'locale' => 'en_US',
     'packages' => 
    stdClass::__set_state(array(
       'full' => 'https://wordpress.org/nightly-builds/wordpress-latest.zip',
       'no_content' => false,
       'new_bundled' => false,
       'partial' => false,
       'rollback' => false,
    )),
     'current' => '4.8-alpha-40312',
     'version' => '4.8-alpha-40312',
     'php_version' => '5.2.4',
     'mysql_version' => '5.0',
     'new_bundled' => '4.7',
     'partial_version' => '',
     'dismissed' => false,
  )),
  1 => 
  stdClass::__set_state(array(
     'response' => 'latest',
     'download' => 'https://downloads.wordpress.org/release/wordpress-4.7.3.zip',
     'locale' => 'en_US',
     'packages' => 
    stdClass::__set_state(array(
       'full' => 'https://downloads.wordpress.org/release/wordpress-4.7.3.zip',
       'no_content' => 'https://downloads.wordpress.org/release/wordpress-4.7.3-no-content.zip',
       'new_bundled' => 'https://downloads.wordpress.org/release/wordpress-4.7.3-new-bundled.zip',
       'partial' => false,
       'rollback' => false,
    )),
     'current' => '4.7.3',
     'version' => '4.7.3',
     'php_version' => '5.2.4',
     'mysql_version' => '5.0',
     'new_bundled' => '4.7',
     'partial_version' => '',
     'dismissed' => false,
  )),
)

Attachments (1)

40241.patch (381 bytes) - added by thamaraiselvam 15 months ago.

Download all attachments as: .zip

Change History (3)

#1 @Presskopp
15 months ago

But above that you can install latest nightly

You are using a development version of WordPress. You can update to the latest nightly build automatically:

Update Now

!?

#2 @thamaraiselvam
15 months ago

No, it just install the stable version v4.7.3 but Do WordPress support downgrade option?

Note: See TracTickets for help on using tickets.