/**
  * Constructor. Parses default args with new ones and extracts them for use.
  *
  * @param array $args Arguments to pass for use within the class
  */
 public function __construct($args = array())
 {
     /** Parse default and new args */
     $defaults = array('url' => '', 'nonce' => '', 'names' => array());
     $args = wp_parse_args($args, $defaults);
     /** Set plugin names to $this->plugin_names property */
     $this->plugin_names = $args['names'];
     /** Extract the new args */
     parent::__construct($args);
 }
 /**
  * Constructor. Parses default args with new ones and extracts them for use.
  *
  * @since 2.2.0
  *
  * @param array $args Arguments to pass for use within the class.
  */
 public function __construct($args = array())
 {
     // Get TGMPA class instance.
     $this->tgmpa = call_user_func(array(get_class($GLOBALS['tgmpa']), 'get_instance'));
     // Parse default and new args.
     $defaults = array('url' => '', 'nonce' => '', 'names' => array(), 'install_type' => 'install');
     $args = wp_parse_args($args, $defaults);
     // Set plugin names to $this->plugin_names property.
     $this->plugin_names = $args['names'];
     // Extract the new args.
     parent::__construct($args);
 }
 function Theme_Upgrader_Skin($args = array())
 {
     parent::__construct($args);
 }
 function __construct($args = array())
 {
     parent::__construct($args);
 }
 public function __construct($args = array())
 {
     $defaults = array('url' => '', 'nonce' => '', 'names' => array());
     $args = wp_parse_args($args, $defaults);
     $this->plugin_names = $args['names'];
     parent::__construct($args);
 }