WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 3 months ago

#53330 new defect (bug)

Update inline documentation for `auto_update_{$type}`

Reported by: desrosj Owned by:
Milestone: 5.9 Priority: normal
Severity: normal Version: 5.6
Component: Upgrade/Install Keywords: good-first-bug has-patch
Focuses: docs Cc:

Description

The inline documentation for the auto_update_{$type} filter says:

Generally speaking, plugins, themes, and major core versions are not updated by default, while translations and minor and development versions for core are updated by default.

This is no longer accurate. As of 5.6, new installations are set to auto-update for major versions as well as minor (see [49581], and the related Making WordPress Core post).

The inline docs here should be updated to state that installs created prior to 5.6 will not auto-update major versions, but new installs on 5.6 and higher will. It would also be good to scan the rest of the update related files and confirm that the inline docs for other filters and actions accurately reflect this change.

Change History (5)

#1 @desrosj
4 months ago

  • Focuses docs added

#2 @desrosj
4 months ago

  • Version set to 5.6

This ticket was mentioned in PR #1438 on WordPress/wordpress-develop by felipelousantos.


3 months ago

  • Keywords has-patch added; needs-patch removed

The inline docs for auto_update_{$type} should be updated to state that installs created prior to 5.6 will not auto-update major versions, but new installs on 5.6 and higher will.

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

#4 @desrosj
3 months ago

  • Milestone changed from Future Release to 5.9

#5 @felipeloureirosantos
3 months ago

Adding the new comment here as well in case there are improvements on the text:

Before version 5.6, the plugins, themes, and major core versions were not updated by default. New installs on 5.6 and higher will only not update plugins and themes by default, while translations and core (minor, major, and development) are updated by default.

Note: See TracTickets for help on using tickets.