From f4989bdf324e62f94286d374241868fb99ac41b3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Jun 2024 15:32:11 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@58446 git-svn-id: http://core.svn.wordpress.org/trunk@57895 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugin-install-list-table.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 21922b7943..1a318d374b 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -626,7 +626,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } elseif ( ! $compatible_wp ) { $incompatible_notice_message .= __( 'This plugin does not work with your version of WordPress.' ); if ( current_user_can( 'update_core' ) ) { - $incompatible_notice_message .= printf( + $incompatible_notice_message .= sprintf( /* translators: %s: URL to WordPress Updates screen. */ ' ' . __( 'Please update WordPress.' ), self_admin_url( 'update-core.php' ) diff --git a/wp-includes/version.php b/wp-includes/version.php index d5c8ce5e06..4ad3ea0e8c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta3-58444'; +$wp_version = '6.6-beta3-58446'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.