WordPress.org

Make WordPress Core

Opened 13 days ago

Last modified 13 days ago

#53330 new defect (bug)

Update inline documentation for `auto_update_{$type}`

Reported by: desrosj Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.6
Component: Upgrade/Install Keywords: needs-patch good-first-bug
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 (2)

#1 @desrosj
13 days ago

  • Focuses docs added

#2 @desrosj
13 days ago

  • Version set to 5.6
Note: See TracTickets for help on using tickets.