[wp-trac] [WordPress Trac] #36596: add config option to auto upgrade even if installed in VCS

WordPress Trac noreply at wordpress.org
Tue Apr 19 17:11:07 UTC 2016


#36596: add config option to auto upgrade even if installed in VCS
-----------------------------+------------------------------
 Reporter:  greggman         |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by swissspidy):

 I don't really see the need for another constant for this. There's already
 the `automatic_updates_is_vcs_checkout` filter.

 Can you elaborate a bit on why you need this, and the benefit over using
 the filter?

 `add_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );` is
 a one-liner. It can't get easier than that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36596#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list