From 34458b5bca47780d3758efa394aba22d3e5021fa Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 29 Jan 2025 21:54:23 +0000 Subject: [PATCH] Coding standards: Remove unused variables from `privacy_policy_guide()` function. See #62279. Built from https://develop.svn.wordpress.org/trunk@59733 git-svn-id: http://core.svn.wordpress.org/trunk@59075 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-privacy-policy-content.php | 4 ---- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/wp-admin/includes/class-wp-privacy-policy-content.php b/wp-admin/includes/class-wp-privacy-policy-content.php index 78669c7351..16fe3a689a 100644 --- a/wp-admin/includes/class-wp-privacy-policy-content.php +++ b/wp-admin/includes/class-wp-privacy-policy-content.php @@ -378,7 +378,6 @@ final class WP_Privacy_Policy_Content { public static function privacy_policy_guide() { $content_array = self::get_suggested_policy_text(); - $content = ''; $date_format = __( 'F j, Y' ); $i = 0; @@ -386,10 +385,7 @@ final class WP_Privacy_Policy_Content { foreach ( $content_array as $section ) { ++$i; - $class = ''; - $meta = ''; $removed = ''; - if ( ! empty( $section['removed'] ) ) { $badge_class = ' red'; $date = date_i18n( $date_format, $section['removed'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index ede237e0e5..5479a2138b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59732'; +$wp_version = '6.8-alpha-59733'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.