Make WordPress Core


Ignore:
Timestamp:
09/13/2013 06:52:11 AM (13 years ago)
Author:
dd32
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader-skins.php

    r25421 r25422  
    542542    var $messages = array();
    543543
    544     function request_filesystem_credentials( $error = false ) {
     544    function request_filesystem_credentials( $error = false, $context = '' ) {
     545        if ( $context )
     546            $this->options['context'] = $context;
    545547        // TODO: fix up request_filesystem_credentials(), or split it, to allow us to request a no-output version
    546548        // This will output a credentials form in event of failure, We don't want that, so just hide with a buffer
Note: See TracChangeset for help on using the changeset viewer.