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:
parent
f92fb81019
commit
b8b4a92895
|
@ -1280,8 +1280,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
|
|
||||||
if ( ! $compatible_php || ! $compatible_wp ) {
|
if ( ! $compatible_php || ! $compatible_wp ) {
|
||||||
printf(
|
printf(
|
||||||
'<tr class="plugin-update-tr">' .
|
'<tr class="plugin-update-tr"><td colspan="%s" class="plugin-update colspanchange">',
|
||||||
'<td colspan="%s" class="plugin-update colspanchange">' .
|
|
||||||
esc_attr( $this->get_column_count() )
|
esc_attr( $this->get_column_count() )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue