WordPress Core Automatic Updates: Pass the Filesystem path as $context to request_filesystem_credentials(). See #22704

Built from https://develop.svn.wordpress.org/trunk@25422


git-svn-id: http://core.svn.wordpress.org/trunk@25347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse
2013-09-13 06:53:09 +00:00
parent 4678d33216
commit 89682d2013
2 changed files with 4 additions and 2 deletions

View File

@@ -1352,7 +1352,7 @@ class WP_Automatic_Upgrader {
static function can_auto_update( $context ) {
if ( ! self::$skin )
self::$skin = new Automatic_Upgrader_Skin();
return (bool) self::$skin->request_filesystem_credentials();
return (bool) self::$skin->request_filesystem_credentials( false, $context );
}
static function upgrade( $type, $item ) {