set_user_setting( 'widgets_access', $widgets_access );
}
+/**
+ *
+ * @param string $classes
+ * @return string
+ */
function wp_widgets_access_body_class($classes) {
return "$classes widgets_access ";
}
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
<div class="wrap">
- <h2><?php echo esc_html( $title ); ?></h2>
+ <h1><?php echo esc_html( $title ); ?></h1>
<div class="editwidget"<?php echo $width; ?>>
<h3><?php printf( __( 'Widget %s' ), $name ); ?></h3>
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
<div class="wrap">
-<h2>
+<h1>
<?php
echo esc_html( $title );
if ( current_user_can( 'customize' ) ) {
printf(
- ' <a class="add-new-h2 hide-if-no-customize" href="%1$s">%2$s</a>',
+ ' <a class="page-title-action hide-if-no-customize" href="%1$s">%2$s</a>',
esc_url( add_query_arg(
array(
array( 'autofocus' => array( 'panel' => 'widgets' ) ),
);
}
?>
-</h2>
+</h1>
<?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>
<div id="message" class="updated notice is-dismissible"><p><?php echo $messages[$_GET['message']]; ?></p></div>