Fix strict notice. see #22704.
Built from https://develop.svn.wordpress.org/trunk@25635 git-svn-id: http://core.svn.wordpress.org/trunk@25552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f092346465
commit
e3798dc013
|
@ -1465,7 +1465,7 @@ class WP_Automatic_Upgrader {
|
||||||
/**
|
/**
|
||||||
* Check for GIT/SVN checkouts.
|
* Check for GIT/SVN checkouts.
|
||||||
*/
|
*/
|
||||||
function is_vcs_checkout( $context ) {
|
static function is_vcs_checkout( $context ) {
|
||||||
$stop_dirs = array(
|
$stop_dirs = array(
|
||||||
ABSPATH,
|
ABSPATH,
|
||||||
untrailingslashit( $context ),
|
untrailingslashit( $context ),
|
||||||
|
|
Loading…
Reference in New Issue