WordPress.org

Make WordPress Core

Opened 13 months ago

Closed 12 months ago

Last modified 11 months ago

#51319 closed task (blessed) (fixed)

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: 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.


13 months 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
13 months ago

  • Description modified (diff)

#3 @knutsp
13 months 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
13 months ago

  • Milestone changed from Awaiting Review to 5.6

Looks good to me :)

#5 @SergeyBiryukov
13 months 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.


12 months ago

#7 @SergeyBiryukov
12 months 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
12 months 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
12 months ago

  • Keywords needs-dev-note added

#11 @SergeyBiryukov
12 months 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.


12 months ago

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


12 months ago

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


11 months ago

Note: See TracTickets for help on using tickets.