Changeset 38187 for branches/4.6/src/wp-admin/includes/update.php
- Timestamp:
- 08/03/2016 10:32:09 PM (8 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
-
branches/4.6/src/wp-admin/includes/update.php
r38082 r38187 635 635 </script> 636 636 <script id="tmpl-wp-bulk-updates-admin-notice" type="text/html"> 637 <div id="{{ data.id }}" class=" notice <# if ( data.errors ) { #>notice-error<# } else { #>notice-success<# } #>">637 <div id="{{ data.id }}" class="{{ data.className }} notice <# if ( data.errors ) { #>notice-error<# } else { #>notice-success<# } #>"> 638 638 <p> 639 639 <# if ( data.successes ) { #> … … 665 665 <# } #> 666 666 <# if ( data.errors ) { #> 667 < # if ( 1 === data.errors ) { #>668 < button class="button-link">667 <button class="button-link bulk-action-errors-collapsed" aria-expanded="false"> 668 <# if ( 1 === data.errors ) { #> 669 669 <?php 670 /* translators: %s: Number of fail ures */671 printf( __( '%s failure.' ), '{{ data.errors }}' );670 /* translators: %s: Number of failed updates */ 671 printf( __( '%s update failed.' ), '{{ data.errors }}' ); 672 672 ?> 673 </button> 674 <# } else { #> 675 <button class="button-link"> 673 <# } else { #> 676 674 <?php 677 /* translators: %s: Number of fail ures */678 printf( __( '%s failures.' ), '{{ data.errors }}' );675 /* translators: %s: Number of failed updates */ 676 printf( __( '%s updates failed.' ), '{{ data.errors }}' ); 679 677 ?> 680 </button> 681 <# } #> 678 <# } #> 679 <span class="screen-reader-text"><?php _e( 'Show more details' ); ?></span> 680 <span class="toggle-indicator" aria-hidden="true"></span> 681 </button> 682 682 <# } #> 683 683 </p> 684 684 <# if ( data.errors ) { #> 685 <ul class=" hidden">685 <ul class="bulk-action-errors hidden"> 686 686 <# _.each( data.errorMessages, function( errorMessage ) { #> 687 687 <li>{{ errorMessage }}</li>
Note: See TracChangeset
for help on using the changeset viewer.