Changeset 56571 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 09/14/2023 01:11:29 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r56414 r56571 2498 2498 } 2499 2499 2500 printf(2501 '< div class="notice notice-error"><p><strong>%s</strong><br>%s</p><p><a href="%s">%s</a></p></div>',2500 $message = sprintf( 2501 '<strong>%s</strong><br>%s</p><p><a href="%s">%s</a>', 2502 2502 __( 'One or more plugins failed to load properly.' ), 2503 2503 __( 'You can find more details and make changes on the Plugins screen.' ), 2504 2504 esc_url( admin_url( 'plugins.php?plugin_status=paused' ) ), 2505 2505 __( 'Go to the Plugins screen' ) 2506 ); 2507 wp_admin_notice( 2508 $message, 2509 array( 'type' => 'error' ) 2506 2510 ); 2507 2511 } … … 2572 2576 } 2573 2577 2574 printf(2575 '< div class="notice notice-warning"><p><strong>%s</strong><br>%s</p><p><a href="%s">%s</a></p></div>',2578 $message = sprintf( 2579 '<strong>%s</strong><br>%s</p><p><a href="%s">%s</a>', 2576 2580 sprintf( 2577 2581 /* translators: %s: Name of deactivated plugin. */ … … 2583 2587 __( 'Go to the Plugins screen' ) 2584 2588 ); 2589 wp_admin_notice( $message, array( 'type' => 'warning' ) ); 2585 2590 } 2586 2591
Note: See TracChangeset
for help on using the changeset viewer.