[wp-trac] [WordPress Trac] #53330: Update inline documentation for `auto_update_{$type}`

WordPress Trac noreply at wordpress.org
Thu Jun 3 19:05:48 UTC 2021


#53330: Update inline documentation for `auto_update_{$type}`
-----------------------------+----------------------------------------
 Reporter:  desrosj          |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Future Release
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:  needs-patch good-first-bug
  Focuses:                   |
-----------------------------+----------------------------------------
 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
 [https://make.wordpress.org/core/2020/11/10/wp5-6-auto-update-
 implementation-change/ 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53330>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list