Changeset 25422
- Timestamp:
- 09/13/2013 06:52:11 AM (11 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader-skins.php
r25421 r25422 542 542 var $messages = array(); 543 543 544 function request_filesystem_credentials( $error = false ) { 544 function request_filesystem_credentials( $error = false, $context = '' ) { 545 if ( $context ) 546 $this->options['context'] = $context; 545 547 // TODO: fix up request_filesystem_credentials(), or split it, to allow us to request a no-output version 546 548 // This will output a credentials form in event of failure, We don't want that, so just hide with a buffer -
trunk/src/wp-admin/includes/class-wp-upgrader.php
r25421 r25422 1353 1353 if ( ! self::$skin ) 1354 1354 self::$skin = new Automatic_Upgrader_Skin(); 1355 return (bool) self::$skin->request_filesystem_credentials( );1355 return (bool) self::$skin->request_filesystem_credentials( false, $context ); 1356 1356 } 1357 1357
Note: See TracChangeset
for help on using the changeset viewer.