$removed =
__( 'You deactivated this plugin on %s and may no longer need this policy.'
);
$removed = '<div class="notice notice-info inline"><p>' .
sprintf( $removed,
$date ) . '</p></div>';
} elseif ( !
empty( $section['updated'
] ) ) { $badge_class = ' blue';
$date =
date_i18n( $date_format,
$section['updated'
] );
/* translators: %s: Date of privacy policy text update. */
$badge_title =
sprintf( __( 'Updated %s.'
),
$date );
} $plugin_name =
esc_html( $section['plugin_name'
] );
$sanitized_policy_name =
sanitize_title_with_dashes( $plugin_name );
?>
<h4 class="privacy-settings-accordion-heading">
<button aria-expanded="false" class="privacy-settings-accordion-trigger" aria-controls="privacy-settings-accordion-block-<?php
echo $sanitized_policy_name; ?>" type="button">
<span class="title"><?php
echo $plugin_name; ?></span>
<?php
if ( !
empty( $section['removed'
] ) || !
empty( $section['updated'
] ) ) : ?>
<span class="badge <?php
echo $badge_class; ?>"> <?php
echo $badge_title; ?></span>
<?php
endif; ?>
<span class="icon"></span>
</button>
</h4>
<div id="privacy-settings-accordion-block-<?php
echo $sanitized_policy_name; ?>" class="privacy-settings-accordion-panel privacy-text-box-body" hidden="hidden">