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:
Andrew Nacin 2013-09-28 06:33:10 +00:00
parent f092346465
commit e3798dc013

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 ),