Skip to content

Commit

Permalink
Admin bar: Add help icon tooltip (#39845)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1r0 authored Oct 21, 2024
1 parent 2b04fc6 commit 8e6d300
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: added

Admin bar: Add help icon tooltip
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function ( $wp_admin_bar ) {
$wp_admin_bar->add_menu(
array(
'id' => 'help-center',
'title' => self::download_asset( 'widgets.wp.com/help-center/help-icon.svg', false ),
'title' => '<span title="' . __( 'Help', 'jetpack-mu-wpcom' ) . '">' . self::download_asset( 'widgets.wp.com/help-center/help-icon.svg', false ) . '</span>',
'parent' => 'top-secondary',
'href' => $this->get_help_center_url(),
'meta' => array(
Expand Down

0 comments on commit 8e6d300

Please sign in to comment.