Changeset 45926 for trunk/src/wp-admin/plugins.php
- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugins.php
r45674 r45926 502 502 $errmsg = __( 'You cannot delete a plugin while it is active on the main site.' ); 503 503 } elseif ( isset( $_GET['charsout'] ) ) { 504 $errmsg = sprintf( 504 $errmsg = sprintf( 505 /* translators: %d: number of characters */ 505 506 _n( 506 507 'The plugin generated %d character of <strong>unexpected output</strong> during activation.', … … 542 543 if ( is_wp_error( $delete_result ) ) : 543 544 ?> 544 <div id="message" class="error notice is-dismissible"><p><?php printf( __( 'Plugin could not be deleted due to an error: %s' ), $delete_result->get_error_message() ); ?></p></div> 545 <div id="message" class="error notice is-dismissible"> 546 <p> 547 <?php 548 printf( 549 /* translators: %s: error message */ 550 __( 'Plugin could not be deleted due to an error: %s' ), 551 $delete_result->get_error_message() 552 ); 553 ?> 554 </p> 555 </div> 545 556 <?php else : ?> 546 557 <div id="message" class="updated notice is-dismissible">
Note: See TracChangeset
for help on using the changeset viewer.