[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:00:41 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 | Keywords:
Focuses: |
-----------------------------+-----------------------------
Currently auto-upgrade doesn't work if it detects a VCS. I'd like to add a
config option to have it ignore that.
Would that be ok?
I'd put it in wp-admin/includes/class-wp-upgrader.php probably near like
2750
public function is_vcs_checkout
And just have it return false if some config option is set
Any preference for the name? Maybe AUTOMATIC_UPDATER_IGNORE_VCS
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36596>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list