diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index b44c374ea6..1ded532ffd 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -1389,8 +1389,6 @@ final class WP_Privacy_Policy_Content { * @since 4.9.6 */ public static function policy_text_changed_notice() { - global $post; - $screen = get_current_screen()->id; if ( 'privacy' !== $screen ) { @@ -1398,7 +1396,7 @@ final class WP_Privacy_Policy_Content { } ?> -