mirror of
git://develop.git.wordpress.org/
synced 2025-03-23 21:39:50 +01:00
Coding standards: Remove unused variables from privacy_policy_guide()
function.
See #62279. git-svn-id: https://develop.svn.wordpress.org/trunk@59733 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
490b4a3a6c
commit
95247e3679
@ -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'] );
|
||||
|
Loading…
x
Reference in New Issue
Block a user