forked from mirror/_s
parent
229d5e93da
commit
2d86340f43
|
@ -50,7 +50,7 @@ function _s_setup() {
|
|||
|
||||
// This theme uses wp_nav_menu() in one location.
|
||||
register_nav_menus( array(
|
||||
'primary' => __( 'Primary Menu', '_s' ),
|
||||
'primary' => esc_html__( 'Primary Menu', '_s' ),
|
||||
) );
|
||||
|
||||
/*
|
||||
|
@ -85,7 +85,7 @@ add_action( 'after_setup_theme', '_s_setup' );
|
|||
*/
|
||||
function _s_widgets_init() {
|
||||
register_sidebar( array(
|
||||
'name' => __( 'Sidebar', '_s' ),
|
||||
'name' => esc_html__( 'Sidebar', '_s' ),
|
||||
'id' => 'sidebar-1',
|
||||
'description' => '',
|
||||
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
|
||||
|
|
Reference in New Issue