Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#51319 closed task (blessed) (fixed)

Allow WordPress sites to opt-in to Beta & RC releases

Reported by: dd32's profile dd32 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-dev-note
Focuses: Cc:

Description (last modified by dd32)

As discussed on Slack and Meta Trac, it'd be useful if it were possible for WordPress sites to opt-in to updating to RC (or beta) releases without having to install a plugin, or run on a development version.

The attached PR works with #meta5412 to allow the WP_AUTO_UPDATE_CORE constant to be set to beta or rc.
By opting in to Beta/RCs it would attempt auto-updates to both minor and major rc/betas. If that's not what someone wants, they should use a plugin to manage it instead I think.

The API has been updated to support this, and should get some extra testers onto Beta and RC versions in the future.

Change History (15)

This ticket was mentioned in PR #520 on WordPress/wordpress-develop by dd32.


4 years ago
#1

  • Keywords has-patch added

Allow WP_AUTO_UPDATE_CORE to be set to 'rc' or 'beta' to signify to the API that we want to opt-in to Beta and/or RC releases but run the latest stable otherwise (ie. not trunk).

See https://meta.trac.wordpress.org/ticket/5412 for background.

Trac ticket: https://core.trac.wordpress.org/ticket/51319

#2 @dd32
4 years ago

  • Description modified (diff)

#3 @knutsp
4 years ago

+1
I have always wondered why beta/rc channel should require a plugin. This belongs naturally in wp-config.php. Let the plugin remain, for those who are not editing config files.

#4 @SergeyBiryukov
4 years ago

  • Milestone changed from Awaiting Review to 5.6

Looks good to me :)

#5 @SergeyBiryukov
4 years ago

WP_Site_Health_Auto_Updates::run_tests() would also need to be updated to include the new acceptable values.

This ticket was mentioned in Slack in #core-auto-updates by pbiron. View the logs.


4 years ago

#7 @SergeyBiryukov
4 years ago

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

In 49245:

Upgrade/Install: Allow WordPress sites to opt-in to beta & RC releases.

The WP_AUTO_UPDATE_CORE constant now supports beta and rc values.

This makes it possible for sites to opt-in to updating to RC (or beta) releases without having to install a plugin, or run on a development version.

Props dd32, knutsp.
Fixes #51319.

#8 @SergeyBiryukov
4 years ago

  • Keywords has-patch removed
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Type changed from defect (bug) to task (blessed)

Reopening to address comment:5.

#9 @SergeyBiryukov
4 years ago

  • Keywords needs-dev-note added

#11 @SergeyBiryukov
4 years ago

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

In 49292:

Upgrade/Install: Account for new WP_AUTO_UPDATE_CORE values in auto-updates settings form.

This updates core_auto_updates_settings() to account for the new beta and rc values for the WP_AUTO_UPDATE_CORE constant.

Additionally, recognize these new values as acceptable in Site Health tests.

Follow-up to [48804], [49245], [49254].

Fixes #51319. See #50907.

This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.


4 years ago

This ticket was mentioned in Slack in #core by daisyo. View the logs.


4 years ago

This ticket was mentioned in Slack in #core-auto-updates by pbiron. View the logs.


4 years ago

Note: See TracTickets for help on using tickets.