Plugins: Fix broken sprintf() call in plugins list table.

In [56599], a `sprintf()` call was modified which resulted in an insufficient number of arguments.
This caused a Fatal Error when an incompatible plugin notice was displayed.

This fixes the `sprintf()` call.

Follow-up to [56599].

Props petitphp, TobiasBg, sabernhardt, mukesh27.
Fixes #59590. See #57791.
Built from https://develop.svn.wordpress.org/trunk@56824


git-svn-id: http://core.svn.wordpress.org/trunk@56336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
costdev 2023-10-11 04:33:32 +00:00
parent f92fb81019
commit b8b4a92895
2 changed files with 2 additions and 3 deletions

View File

@ -1280,8 +1280,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
if ( ! $compatible_php || ! $compatible_wp ) {
printf(
'<tr class="plugin-update-tr">' .
'<td colspan="%s" class="plugin-update colspanchange">' .
'<tr class="plugin-update-tr"><td colspan="%s" class="plugin-update colspanchange">',
esc_attr( $this->get_column_count() )
);

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-beta3-56823';
$wp_version = '6.4-beta3-56824';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.