From b8b4a9289530734bd4b120e6fef5aab6a0861e97 Mon Sep 17 00:00:00 2001 From: costdev Date: Wed, 11 Oct 2023 04:33:32 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-plugins-list-table.php | 3 +-- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php index d16349928d..5c92fba7aa 100644 --- a/wp-admin/includes/class-wp-plugins-list-table.php +++ b/wp-admin/includes/class-wp-plugins-list-table.php @@ -1280,8 +1280,7 @@ class WP_Plugins_List_Table extends WP_List_Table { if ( ! $compatible_php || ! $compatible_wp ) { printf( - '' . - '' . + '', esc_attr( $this->get_column_count() ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c8f2bb620b..6ed0b45a7a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.