Ticket #42923: 42923.patch
File 42923.patch, 5.8 KB (added by , 7 years ago) |
---|
-
class-plugin-installer-skin.php
16 16 * @see WP_Upgrader_Skin 17 17 */ 18 18 class Plugin_Installer_Skin extends WP_Upgrader_Skin { 19 20 /** 21 * Holds the plugin data returned from WordPress.org API. 22 * 23 * @since 2.8.0 24 * 25 * @var array|object 26 */ 19 27 public $api; 28 29 /** 30 * Holds the installer type. 31 * 32 * @since 2.8.0 33 * 34 * @var string 35 */ 20 36 public $type; 21 37 22 38 /** 23 * @param array $args 39 * Constructor. 40 * 41 * Sets up the plugin installer skin. 42 * 43 * @since 2.8.0 44 * 45 * @param array $args Optional. The plugin installer skin arguments to 46 * override default options. Default is an empty array. 24 47 */ 25 48 public function __construct( $args = array() ) { 26 49 $defaults = array( -
class-plugin-upgrader-skin.php
16 16 * @see WP_Upgrader_Skin 17 17 */ 18 18 class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { 19 public $plugin = ''; 20 public $plugin_active = false; 19 20 /** 21 * Holds the plugin slug in the Plugin Directory. 22 * 23 * @since 2.8.0 24 * 25 * @var object 26 */ 27 public $plugin = ''; 28 29 /** 30 * Whether the plugin is active. 31 * 32 * @since 2.8.0 33 * 34 * @var bool 35 */ 36 public $plugin_active = false; 37 38 /** 39 * Whether the plugin is active for the entire network. 40 * 41 * @since 2.8.0 42 * 43 * @var bool 44 */ 21 45 public $plugin_network_active = false; 22 46 23 47 /** 24 * @param array $args 48 * Constructor. 49 * 50 * Sets up the plugin upgrader skin. 51 * 52 * @since 2.8.0 53 * 54 * @param array $args Optional. The plugin upgrader skin arguments to 55 * override default options. Default is an empty array. 25 56 */ 26 57 public function __construct( $args = array() ) { 27 58 $defaults = array( -
class-theme-installer-skin.php
16 16 * @see WP_Upgrader_Skin 17 17 */ 18 18 class Theme_Installer_Skin extends WP_Upgrader_Skin { 19 20 /** 21 * Holds the theme data returned from WordPress.org API. 22 * 23 * @since 2.8.0 24 * 25 * @var array|object 26 */ 19 27 public $api; 28 29 /** 30 * Holds the installer type. 31 * 32 * @since 2.8.0 33 * 34 * @var string 35 */ 20 36 public $type; 21 37 22 38 /** 23 * @param array $args 39 * Constructor. 40 * 41 * Sets up the theme installer skin. 42 * 43 * @since 2.8.0 44 * 45 * @param array $args Optional. The theme installer skin arguments to 46 * override default options. Default is an empty array. 24 47 */ 25 48 public function __construct( $args = array() ) { 26 49 $defaults = array( -
class-theme-upgrader-skin.php
16 16 * @see WP_Upgrader_Skin 17 17 */ 18 18 class Theme_Upgrader_Skin extends WP_Upgrader_Skin { 19 20 /** 21 * Holds the theme slug in the Theme Directory. 22 * 23 * @since 2.8.0 24 * 25 * @var object 26 */ 19 27 public $theme = ''; 20 28 21 29 /** 22 * @param array $args 30 * Constructor. 31 * 32 * Sets up the theme upgrader skin. 33 * 34 * @since 2.8.0 35 * 36 * @param array $args Optional. The theme upgrader skin arguments to 37 * override default options. Default is an empty array. 23 38 */ 24 39 public function __construct( $args = array() ) { 25 40 $defaults = array( -
class-wp-ajax-upgrader-skin.php
22 22 * Holds the WP_Error object. 23 23 * 24 24 * @since 4.6.0 25 * 25 26 * @var null|WP_Error 26 27 */ 27 28 protected $errors = null; … … 29 30 /** 30 31 * Constructor. 31 32 * 33 * Sets up the WordPress Ajax upgrader skin. 34 * 32 35 * @since 4.6.0 33 36 * 34 * @param array $args Options for the upgrader, see WP_Upgrader_Skin::__construct(). 37 * @param array $args Optional. The WordPress Ajax upgrader skin arguments to 38 * override default options. Default is an empty array. 35 39 */ 36 40 public function __construct( $args = array() ) { 37 41 parent::__construct( $args ); -
class-wp-upgrader-skin.php
15 15 */ 16 16 class WP_Upgrader_Skin { 17 17 18 /** 19 * Holds the upgrader data. 20 * 21 * @since 2.8.0 22 * 23 * @var object 24 */ 18 25 public $upgrader; 26 27 /** 28 * Whether to header is done. 29 * 30 * @since 2.8.0 31 * 32 * @var bool 33 */ 19 34 public $done_header = false; 35 36 /** 37 * Whether to footer is done. 38 * 39 * @since 2.8.0 40 * 41 * @var bool 42 */ 20 43 public $done_footer = false; 21 44 22 45 /** … … 23 46 * Holds the result of an upgrade. 24 47 * 25 48 * @since 2.8.0 49 * 26 50 * @var string|bool|WP_Error 27 51 */ 28 public $result = false; 52 public $result = false; 53 54 /** 55 * Holds the options of an upgrade. 56 * 57 * @since 2.8.0 58 * 59 * @var array 60 */ 29 61 public $options = array(); 30 62 31 63 /** 32 * @param array $args 64 * Constructor. 65 * 66 * Sets up the generic skin for the WordPress Upgrader classes. 67 * 68 * @since 2.8.0 69 * 70 * @param array $args Optional. The WordPress upgrader skin arguments to 71 * override default options. Default is an empty array. 33 72 */ 34 73 public function __construct( $args = array() ) { 35 74 $defaults = array(