Ticket #53031: 53031.patch
File 53031.patch, 1.2 KB (added by , 4 years ago) |
---|
-
src/wp-admin/update-core.php
449 449 } else { 450 450 $core_update_version = $core_updates[0]->current; 451 451 } 452 453 $plugins_available = count( $plugins ); 452 454 ?> 453 <h2><?php _e( 'Plugins' ); ?></h2> 455 <h2> 456 <?php 457 _e( 'Plugins' ); 458 printf( 459 ' <span class="count">(%d)</span>', 460 $plugins_available 461 ); 462 ?> 463 </h2> 454 464 <p><?php _e( 'The following plugins have new versions available. Check the ones you want to update and then click “Update Plugins”.' ); ?></p> 455 465 <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade"> 456 466 <?php wp_nonce_field( 'upgrade-core' ); ?> … … 602 612 } 603 613 604 614 $form_action = 'update-core.php?action=do-theme-upgrade'; 615 616 $themes_available = count( $themes ); 605 617 ?> 606 <h2><?php _e( 'Themes' ); ?></h2> 618 <h2> 619 <?php 620 _e( 'Themes' ); 621 printf( 622 ' <span class="count">(%d)</span>', 623 $themes_available 624 ); 625 ?> 626 </h2> 607 627 <p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click “Update Themes”.' ); ?></p> 608 628 <p> 609 629 <?php