Skip to content

Commit 3bb533a

Browse files
Plugins: Correct plugin card layout when incompatible plugin message is displayed.
This replaces an erroneous `printf()` call with `sprintf()` that was missed when updating this fragment to use `wp_admin_notice()`. Follow-up to [56571]. Props wojtekn, sabernhardt, rajinsharwar. Fixes #61465. git-svn-id: https://develop.svn.wordpress.org/trunk@58446 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c1c8d30 commit 3bb533a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/class-wp-plugin-install-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ public function display_rows() {
626626
} elseif ( ! $compatible_wp ) {
627627
$incompatible_notice_message .= __( 'This plugin does not work with your version of WordPress.' );
628628
if ( current_user_can( 'update_core' ) ) {
629-
$incompatible_notice_message .= printf(
629+
$incompatible_notice_message .= sprintf(
630630
/* translators: %s: URL to WordPress Updates screen. */
631631
' ' . __( '<a href="%s">Please update WordPress</a>.' ),
632632
self_admin_url( 'update-core.php' )

0 commit comments

Comments
 (0)