[wp-meta] [Making WordPress.org] #545: Configuring Automatic Background Updates in codex is misleading

Making WordPress.org noreply at wordpress.org
Wed Jul 2 02:07:49 UTC 2014


#545: Configuring Automatic Background Updates in codex is misleading
-----------------------+-------------------
Reporter:  lovingboth  |      Owner:
    Type:  defect      |     Status:  new
Priority:  normal      |  Component:  Codex
Keywords:              |
-----------------------+-------------------
 "By default, only minor releases – such as for maintenance and security
 purposes – and translation file updates are enabled."

 The actual default, as seen in wp-admin/includes/class-wp-upgrader.php and
 specifically

 {{{should_update_to_version}}}

 is that minor updates '''and - if and only if you are currently running a
 development version - development updates''' are enabled.

 See the defaults of
 {{{
  $upgrade_dev   = true;
  $upgrade_minor = true;
  $upgrade_major = false;
 }}}

 The section on WP_AUTO_UPDATE_CORE should also make it clear that, even if
 they are enabled by setting it to 'true' and/or using the relevant filter,
 '''automatic development updates are only done if you are currently
 running an earlier development version'''.

 At the moment, the strong implication is that if you set
 WP_AUTO_UPDATE_CORE to true, you will get development updates regardless
 of whether or not you are running a development version.

 That a) put me off setting it to true and b) got me looking at what would
 be needed to patch class-wp-upgrader.php to tell it that I want
 major+minor automatic updates but not development ones when in fact no
 changes are needed.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/545>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list