diff options
Diffstat (limited to 'plugins/jetpack/modules/theme-tools/social-menu.php')
-rw-r--r-- | plugins/jetpack/modules/theme-tools/social-menu.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/theme-tools/social-menu.php b/plugins/jetpack/modules/theme-tools/social-menu.php index abb5070c..df241b89 100644 --- a/plugins/jetpack/modules/theme-tools/social-menu.php +++ b/plugins/jetpack/modules/theme-tools/social-menu.php @@ -7,6 +7,8 @@ * 'after_setup_theme' action: * * add_theme_support( 'jetpack-social-menu' ); + * + * @package automattic/jetpack */ /** @@ -45,7 +47,7 @@ function jetpack_social_menu_init() { // Load SVG icons related functions and filters if ( 'svg' === jetpack_social_menu_get_type() ) { - require dirname( __FILE__ ) . '/social-menu/icon-functions.php'; + require __DIR__ . '/social-menu/icon-functions.php'; } } add_action( 'after_setup_theme', 'jetpack_social_menu_init', 99 ); @@ -100,7 +102,7 @@ function jetpack_social_menu() { if ( 'svg' === $menu_type ) { $link_after .= jetpack_social_menu_get_svg( array( 'icon' => 'chain' ) ); } ?> - <nav class="jetpack-social-navigation jetpack-social-navigation-<?php echo esc_attr( $menu_type ); ?>" role="navigation" aria-label="<?php esc_html_e( 'Social Links Menu', 'jetpack' ); ?>"> + <nav class="jetpack-social-navigation jetpack-social-navigation-<?php echo esc_attr( $menu_type ); ?>" aria-label="<?php esc_html_e( 'Social Links Menu', 'jetpack' ); ?>"> <?php wp_nav_menu( array( |