Changeset 29358
- Timestamp:
- 08/02/2014 03:15:27 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader-skins.php
r29357 r29358 19 19 public $upgrader; 20 20 public $done_header = false; 21 public $done_footer = false; 21 22 public $result = false; 22 23 … … 48 49 49 50 public function header() { 50 if ( $this->done_header ) 51 return; 51 if ( $this->done_header ) { 52 return; 53 } 52 54 $this->done_header = true; 53 55 echo '<div class="wrap">'; … … 55 57 } 56 58 public function footer() { 59 if ( $this->done_footer ) { 60 return; 61 } 62 $this->done_footer = true; 57 63 echo '</div>'; 58 64 } … … 629 635 public $language_update = null; 630 636 public $done_header = false; 637 public $done_footer = false; 631 638 public $display_footer_actions = true; 632 639 … … 636 643 if ( $args['skip_header_footer'] ) { 637 644 $this->done_header = true; 645 $this->done_footer = true; 638 646 $this->display_footer_actions = false; 639 647 }
Note: See TracChangeset
for help on using the changeset viewer.