Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -23,7 +23,7 @@ $title = __( 'Privacy' );
|
||||
|
||||
add_filter(
|
||||
'admin_body_class',
|
||||
static function( $body_class ) {
|
||||
static function ( $body_class ) {
|
||||
$body_class .= ' privacy-settings ';
|
||||
|
||||
return $body_class;
|
||||
@@ -177,9 +177,15 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<div class="notice notice-error hide-if-js">
|
||||
<p><?php _e( 'The Privacy Settings require JavaScript.' ); ?></p>
|
||||
</div>
|
||||
<?php
|
||||
wp_admin_notice(
|
||||
__( 'The Privacy Settings require JavaScript.' ),
|
||||
array(
|
||||
'type' => 'error',
|
||||
'additional_classes' => array( 'hide-if-js' ),
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
<div class="privacy-settings-body hide-if-no-js">
|
||||
<h2><?php _e( 'Privacy Settings' ); ?></h2>
|
||||
|
||||
Reference in New Issue
Block a user