Skip to content

Commit

Permalink
Coding standards: Remove unused variables from `privacy_policy_guide(…
Browse files Browse the repository at this point in the history
…)` function.

See #62279.




git-svn-id: https://develop.svn.wordpress.org/trunk@59733 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Jan 29, 2025
1 parent 490b4a3 commit 95247e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/wp-admin/includes/class-wp-privacy-policy-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,18 +378,14 @@ public static function notice( $post = null ) {
public static function privacy_policy_guide() {

$content_array = self::get_suggested_policy_text();
$content = '';
$date_format = __( 'F j, Y' );

$i = 0;

foreach ( $content_array as $section ) {
++$i;

$class = '';
$meta = '';
$removed = '';

if ( ! empty( $section['removed'] ) ) {
$badge_class = ' red';
$date = date_i18n( $date_format, $section['removed'] );
Expand Down

0 comments on commit 95247e3

Please sign in to comment.