diff --git a/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php b/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php
index 9844e19460..e773a96734 100644
|
a
|
b
|
|
| 18 | 18 | class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 19 | 19 | public $plugin_info = array(); // Plugin_Upgrader::bulk_upgrade() will fill this in. |
| 20 | 20 | |
| | 21 | /** |
| | 22 | * Function for add strings. |
| | 23 | * |
| | 24 | * @return void |
| | 25 | */ |
| 21 | 26 | public function add_strings() { |
| 22 | 27 | parent::add_strings(); |
| 23 | 28 | /* translators: 1: Plugin name, 2: Number of the plugin, 3: Total number of plugins being updated. */ |
| … |
… |
class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 25 | 30 | } |
| 26 | 31 | |
| 27 | 32 | /** |
| | 33 | * Function for before title. |
| | 34 | * |
| 28 | 35 | * @param string $title |
| 29 | 36 | */ |
| 30 | 37 | public function before( $title = '' ) { |
| … |
… |
class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 32 | 39 | } |
| 33 | 40 | |
| 34 | 41 | /** |
| | 42 | * Function for after title. |
| | 43 | * |
| 35 | 44 | * @param string $title |
| 36 | 45 | */ |
| 37 | 46 | public function after( $title = '' ) { |
| … |
… |
class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 40 | 49 | } |
| 41 | 50 | |
| 42 | 51 | /** |
| | 52 | * Function for perform action of bulk footer. |
| 43 | 53 | */ |
| 44 | 54 | public function bulk_footer() { |
| 45 | 55 | parent::bulk_footer(); |
diff --git a/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php b/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php
index 94daa27131..7dc8b5091a 100644
|
a
|
b
|
|
| 18 | 18 | class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 19 | 19 | public $theme_info = array(); // Theme_Upgrader::bulk_upgrade() will fill this in. |
| 20 | 20 | |
| | 21 | /** |
| | 22 | * Function for add strings. |
| | 23 | * |
| | 24 | * @return void |
| | 25 | */ |
| 21 | 26 | public function add_strings() { |
| 22 | 27 | parent::add_strings(); |
| 23 | 28 | /* translators: 1: Theme name, 2: Number of the theme, 3: Total number of themes being updated. */ |
| … |
… |
class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 25 | 30 | } |
| 26 | 31 | |
| 27 | 32 | /** |
| | 33 | * Function for before title. |
| | 34 | * |
| 28 | 35 | * @param string $title |
| 29 | 36 | */ |
| 30 | 37 | public function before( $title = '' ) { |
| … |
… |
class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 32 | 39 | } |
| 33 | 40 | |
| 34 | 41 | /** |
| | 42 | * Function for after title. |
| | 43 | * |
| 35 | 44 | * @param string $title |
| 36 | 45 | */ |
| 37 | 46 | public function after( $title = '' ) { |
| … |
… |
class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { |
| 40 | 49 | } |
| 41 | 50 | |
| 42 | 51 | /** |
| | 52 | * Function for perform action of bulk footer. |
| 43 | 53 | */ |
| 44 | 54 | public function bulk_footer() { |
| 45 | 55 | parent::bulk_footer(); |
diff --git a/src/wp-admin/includes/class-bulk-upgrader-skin.php b/src/wp-admin/includes/class-bulk-upgrader-skin.php
index 89367c4cf8..250ad48791 100644
|
a
|
b
|
|
| 18 | 18 | class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 19 | 19 | public $in_loop = false; |
| 20 | 20 | /** |
| | 21 | * Error variable. |
| | 22 | * |
| 21 | 23 | * @var string|false |
| 22 | 24 | */ |
| 23 | 25 | public $error = false; |
| 24 | 26 | |
| 25 | 27 | /** |
| | 28 | * Construct function of class Bulk_Upgrader_Skin |
| | 29 | * |
| 26 | 30 | * @param array $args |
| 27 | 31 | */ |
| 28 | 32 | public function __construct( $args = array() ) { |
| … |
… |
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 36 | 40 | } |
| 37 | 41 | |
| 38 | 42 | /** |
| | 43 | * Function for add strings. |
| | 44 | * |
| | 45 | * @return void |
| 39 | 46 | */ |
| 40 | 47 | public function add_strings() { |
| 41 | 48 | $this->upgrader->strings['skin_upgrade_start'] = __( 'The update process is starting. This process may take a while on some hosts, so please be patient.' ); |
| … |
… |
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 77 | 84 | } |
| 78 | 85 | |
| 79 | 86 | /** |
| | 87 | * Function for header to perform some actions. |
| 80 | 88 | */ |
| 81 | 89 | public function header() { |
| 82 | 90 | // Nothing, This will be displayed within a iframe. |
| 83 | 91 | } |
| 84 | 92 | |
| 85 | 93 | /** |
| | 94 | * Function for footer to perform some actions. |
| 86 | 95 | */ |
| 87 | 96 | public function footer() { |
| 88 | 97 | // Nothing, This will be displayed within a iframe. |
| … |
… |
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 113 | 122 | } |
| 114 | 123 | |
| 115 | 124 | /** |
| | 125 | * Function for bulk header. |
| | 126 | * |
| | 127 | * @return void |
| 116 | 128 | */ |
| 117 | 129 | public function bulk_header() { |
| 118 | 130 | $this->feedback( 'skin_upgrade_start' ); |
| 119 | 131 | } |
| 120 | 132 | |
| 121 | 133 | /** |
| | 134 | * Function for bulk footer. |
| | 135 | * |
| | 136 | * @return void |
| 122 | 137 | */ |
| 123 | 138 | public function bulk_footer() { |
| 124 | 139 | $this->feedback( 'skin_upgrade_end' ); |
| 125 | 140 | } |
| 126 | 141 | |
| 127 | 142 | /** |
| | 143 | * Function for before title. |
| | 144 | * |
| 128 | 145 | * @param string $title |
| 129 | 146 | */ |
| 130 | 147 | public function before( $title = '' ) { |
| … |
… |
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 137 | 154 | } |
| 138 | 155 | |
| 139 | 156 | /** |
| | 157 | * Function for after title. |
| | 158 | * |
| 140 | 159 | * @param string $title |
| 141 | 160 | */ |
| 142 | 161 | public function after( $title = '' ) { |
| … |
… |
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 166 | 185 | } |
| 167 | 186 | |
| 168 | 187 | /** |
| | 188 | * Function for reset data. |
| 169 | 189 | */ |
| 170 | 190 | public function reset() { |
| 171 | 191 | $this->in_loop = false; |
| … |
… |
class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { |
| 173 | 193 | } |
| 174 | 194 | |
| 175 | 195 | /** |
| | 196 | * Function for flush output. |
| 176 | 197 | */ |
| 177 | 198 | public function flush_output() { |
| 178 | 199 | wp_ob_end_flush_all(); |