Make WordPress Core

Opened 5 weeks ago

Last modified 33 minutes ago

#51319 reopened task (blessed)

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

Reported by: dd32 Owned by: SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: needs-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 (9)

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

5 weeks ago

  • 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
5 weeks ago

  • Description modified (diff)

#3 @knutsp
5 weeks ago

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 weeks ago

  • Milestone changed from Awaiting Review to 5.6

Looks good to me :)

#5 @SergeyBiryukov
4 weeks 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.

70 minutes ago

#7 @SergeyBiryukov
36 minutes 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
35 minutes 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
33 minutes ago

  • Keywords needs-dev-note added
Note: See TracTickets for help on using tickets.