You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/wp-admin/options-privacy.php
+1-14Lines changed: 1 addition & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -127,20 +127,7 @@ static function ( $body_class ) {
127
127
'error'
128
128
);
129
129
} else {
130
-
if ( 'trash' === $privacy_policy_page->post_status ) {
131
-
add_settings_error(
132
-
'page_for_privacy_policy',
133
-
'page_for_privacy_policy',
134
-
sprintf(
135
-
/* translators: %s: URL to Pages Trash. */
136
-
__( 'The currently selected Privacy Policy page is in the Trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ),
0 commit comments