Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#13625 closed defect (bug) (fixed)

update-core should be folder agnostic

Reported by: wpmuguru's profile wpmuguru Owned by: dd32's profile dd32
Milestone: 3.0 Priority: high
Severity: normal Version:
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

Currently, update-core is hardcoded to specific base folders in the extracted zip. To support upgrading both WP & MU to 3.0, the base folder should be a parameter to the main upgrade processes.

Attachments (1)

13625.diff (1.9 KB) - added by ryan 15 years ago.

Download all attachments as: .zip

Change History (10)

#1 @ryan
15 years ago

It shouldn't assume $working_dir/wordpress. For upgrades from MU it can be $working_dir/wordpress-mu.

#2 @ryan
15 years ago

We can simply check if global $wpmu_version is set and use wordpress-mu if so.

#3 @ryan
15 years ago

Untested patch. This assumes we change http://api.wordpress.org/core/version-check/1.3-mu/ to return a 3.0 package rooted at wordpress-mu.

@ryan
15 years ago

#5 @automattor
15 years ago

(In [15059]) check both wordpress & wordpress-mu roots in update core, see #13625

#7 @ryan
15 years ago

Someone using MU 2.9.2 or earlier should be able to set $wpmu_version in version.php to 3.0-RC1 and get auto upgraded to the latest nightly. The package should be rooted at wordpress-mu so that is places nicely with 2.9.2.

#8 @wpmuguru
15 years ago

(In [15061]) remove naughty not, see #13625

#9 @nacin
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Tested and works wonderfully.

We have to make some API changes come release but that's part of the launch checklist.

Note: See TracTickets for help on using tickets.