mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
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:
@@ -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 ),
|
||||
|
||||
Reference in New Issue
Block a user