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:
Andrew Nacin 2013-09-28 06:32:14 +00:00
parent 7149ae3b9f
commit c3a6047584
1 changed files with 1 additions and 1 deletions

View File

@ -1465,7 +1465,7 @@ class WP_Automatic_Upgrader {
/**
* Check for GIT/SVN checkouts.
*/
function is_vcs_checkout( $context ) {
static function is_vcs_checkout( $context ) {
$stop_dirs = array(
ABSPATH,
untrailingslashit( $context ),