Changeset 32656 for trunk/src/wp-admin/includes/class-wp-upgrader-skins.php
- Timestamp:
- 05/29/2015 09:31:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader-skins.php
r32655 r32656 41 41 } 42 42 43 /** 44 * @access public 45 */ 43 46 public function add_strings() { 44 47 } 45 48 49 /** 50 * 51 * @param string|false|WP_Error $result 52 */ 46 53 public function set_result($result) { 47 54 $this->result = $result; … … 69 76 } 70 77 78 /** 79 * @access public 80 */ 71 81 public function header() { 72 82 if ( $this->done_header ) { … … 77 87 echo '<h2>' . $this->options['title'] . '</h2>'; 78 88 } 89 90 /** 91 * @access public 92 */ 79 93 public function footer() { 80 94 if ( $this->done_footer ) { … … 125 139 show_message($string); 126 140 } 141 142 /** 143 * @access public 144 */ 127 145 public function before() {} 146 147 /** 148 * @access public 149 */ 128 150 public function after() {} 129 151 … … 158 180 } 159 181 182 /** 183 * @access public 184 */ 160 185 public function bulk_header() {} 186 187 /** 188 * @access public 189 */ 161 190 public function bulk_footer() {} 162 191 } … … 190 219 } 191 220 221 /** 222 * @access public 223 */ 192 224 public function after() { 193 225 $this->plugin = $this->upgrader->plugin_info(); … … 245 277 } 246 278 279 /** 280 * @access public 281 */ 247 282 public function add_strings() { 248 283 $this->upgrader->strings['skin_upgrade_start'] = __('The update process is starting. This process may take a while on some hosts, so please be patient.'); … … 277 312 } 278 313 314 /** 315 * @access public 316 */ 279 317 public function header() { 280 318 // Nothing, This will be displayed within a iframe. 281 319 } 282 320 321 /** 322 * @access public 323 */ 283 324 public function footer() { 284 325 // Nothing, This will be displayed within a iframe. … … 306 347 } 307 348 349 /** 350 * @access public 351 */ 308 352 public function bulk_header() { 309 353 $this->feedback('skin_upgrade_start'); 310 354 } 311 355 356 /** 357 * @access public 358 */ 312 359 public function bulk_footer() { 313 360 $this->feedback('skin_upgrade_end'); … … 350 397 } 351 398 399 /** 400 * @access public 401 */ 352 402 public function reset() { 353 403 $this->in_loop = false; … … 355 405 } 356 406 407 /** 408 * @access public 409 */ 357 410 public function flush_output() { 358 411 wp_ob_end_flush_all(); … … 385 438 $this->decrement_update_count( 'plugin' ); 386 439 } 440 441 /** 442 * @access public 443 */ 387 444 public function bulk_footer() { 388 445 parent::bulk_footer(); … … 434 491 } 435 492 493 /** 494 * @access public 495 */ 436 496 public function bulk_footer() { 437 497 parent::bulk_footer(); … … 483 543 } 484 544 545 /** 546 * @access public 547 */ 485 548 public function before() { 486 549 if ( !empty($this->api) ) … … 488 551 } 489 552 553 /** 554 * @access public 555 */ 490 556 public function after() { 491 492 557 $plugin_file = $this->upgrader->plugin_info(); 493 558 … … 563 628 } 564 629 630 /** 631 * @access public 632 */ 565 633 public function before() { 566 634 if ( !empty($this->api) ) … … 568 636 } 569 637 638 /** 639 * @access public 640 */ 570 641 public function after() { 571 642 if ( empty($this->upgrader->result['destination_name']) ) … … 650 721 } 651 722 723 /** 724 * @access public 725 */ 652 726 public function after() { 653 727 $this->decrement_update_count( 'theme' ); … … 733 807 } 734 808 809 /** 810 * @access public 811 */ 735 812 public function before() { 736 813 $name = $this->upgrader->get_name_for_update( $this->language_update ); … … 751 828 } 752 829 830 /** 831 * @access public 832 */ 753 833 public function after() { 754 834 echo '</div>'; 755 835 } 756 836 837 /** 838 * @access public 839 */ 757 840 public function bulk_footer() { 758 841 $this->decrement_update_count( 'translation' ); … … 806 889 } 807 890 891 /** 892 * @access public 893 * 894 * @return array 895 */ 808 896 public function get_upgrade_messages() { 809 897 return $this->messages; … … 849 937 } 850 938 939 /** 940 * @access public 941 */ 851 942 public function header() { 852 943 ob_start(); 853 944 } 854 945 946 /** 947 * @access public 948 */ 855 949 public function footer() { 856 950 $output = ob_get_contents(); … … 859 953 ob_end_clean(); 860 954 } 861 862 public function bulk_header() {}863 public function bulk_footer() {}864 public function before() {}865 public function after() {}866 955 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)