Skip to content

Commit

Permalink
fix about link URL
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-lysenko committed Jul 10, 2023
1 parent ffbf3cd commit 6e7d209
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ const JetpackFooter: React.FC< JetpackFooterProps > = ( {
{
label: _x( 'About', 'Link to learn more about Jetpack.', 'jetpack' ),
title: __( 'About Jetpack', 'jetpack' ),
href: getRedirectUrl( 'jetpack-about' ),
href: areAdminLinksEnabled
? new URL( 'admin.php?page=jetpack_about', siteAdminUrl ).href
: getRedirectUrl( 'jetpack-about' ),
target: '_blank',
onClick: onAboutClick,
},
Expand Down

0 comments on commit 6e7d209

Please sign in to comment.