Fix strict notice. see #22704.
git-svn-id: https://develop.svn.wordpress.org/trunk@25635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7149ae3b9f
commit
c3a6047584
@ -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
Block a user