Ticket #23807: 23807.patch
| File 23807.patch, 1.8 KB (added by , 14 years ago) |
|---|
-
wp-admin/includes/class-wp-upgrader.php
1286 1286 $this->feedback('skin_upgrade_end'); 1287 1287 } 1288 1288 1289 // Patch: make param list compatible with base class, makes PHP strict mode happier 1289 1290 function before($title = '') { 1290 1291 $this->in_loop = true; 1291 1292 printf( '<h4>' . $this->upgrader->strings['skin_before_update_header'] . ' <span class="spinner waiting-' . $this->upgrader->update_current . '"></span></h4>', $title, $this->upgrader->update_current, $this->upgrader->update_count); … … 1294 1295 $this->flush_output(); 1295 1296 } 1296 1297 1298 // Patch: make param list compatible with base class, makes PHP strict mode happier 1297 1299 function after($title = '') { 1298 1300 echo '</p></div>'; 1299 1301 if ( $this->error || ! $this->result ) { … … 1336 1338 $this->upgrader->strings['skin_before_update_header'] = __('Updating Plugin %1$s (%2$d/%3$d)'); 1337 1339 } 1338 1340 1339 function before() { 1341 // Patch: make param list compatible with base class, makes PHP strict mode happier 1342 function before($title='') { 1340 1343 parent::before($this->plugin_info['Title']); 1341 1344 } 1342 1345 1343 function after() { 1346 // Patch: make param list compatible with base class, makes PHP strict mode happier 1347 function after($title='') { 1344 1348 parent::after($this->plugin_info['Title']); 1345 1349 } 1346 1350 function bulk_footer() { … … 1370 1374 $this->upgrader->strings['skin_before_update_header'] = __('Updating Theme %1$s (%2$d/%3$d)'); 1371 1375 } 1372 1376 1373 function before( ) {1377 function before($title='') { 1374 1378 parent::before( $this->theme_info->display('Name') ); 1375 1379 } 1376 1380 1377 function after( ) {1381 function after($title='') { 1378 1382 parent::after( $this->theme_info->display('Name') ); 1379 1383 } 1380 1384
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)