Ticket #53031: 53031.1.patch
File 53031.1.patch, 1.3 KB (added by , 3 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_count = count( $plugins ); 452 454 ?> 453 <h2><?php _e( 'Plugins' ); ?></h2> 455 <h2> 456 <?php 457 printf( 458 '%s <span class="count">(%d)</span>', 459 __( 'Plugins' ), 460 number_format_i18n( $plugins_count ) 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_count = count( $themes ); 605 617 ?> 606 <h2><?php _e( 'Themes' ); ?></h2> 618 <h2> 619 <?php 620 printf( 621 '%s <span class="count">(%d)</span>', 622 __( 'Themes' ), 623 number_format_i18n( $themes_count ) 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