Changeset 25370
- Timestamp:
- 09/12/2013 02:42:10 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/class-wp-upgrader.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r25272 r25370 300 300 return false; 301 301 302 if ( ! $is_multi ) // call $this->header separately if running multiple times 303 $this->skin->header(); 304 305 $this->skin->before(); 306 302 307 if ( is_wp_error($res) ) { 303 308 $this->skin->error($res); 309 $this->skin->after(); 310 if ( ! $is_multi ) 311 $this->skin->footer(); 304 312 return $res; 305 313 } 306 307 if ( !$is_multi ) // call $this->header separately if running multiple times308 $this->skin->header();309 310 $this->skin->before();311 314 312 315 //Download the package (Note, This just returns the filename of the file if the package is a local file) … … 315 318 $this->skin->error($download); 316 319 $this->skin->after(); 320 if ( ! $is_multi ) 321 $this->skin->footer(); 317 322 return $download; 318 323 } … … 325 330 $this->skin->error($working_dir); 326 331 $this->skin->after(); 332 if ( ! $is_multi ) 333 $this->skin->footer(); 327 334 return $working_dir; 328 335 } … … 346 353 $this->skin->feedback('process_success'); 347 354 } 355 348 356 $this->skin->after(); 349 357 350 if ( ! $is_multi )358 if ( ! $is_multi ) 351 359 $this->skin->footer(); 352 360
Note: See TracChangeset
for help on using the changeset viewer.