Skip to content

Commit

Permalink
Added: target="_blank" to shortcuts links
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-mainwp committed Sep 10, 2020
1 parent 8bb0b19 commit 6491a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class/class-mainwp-ui.php
Expand Up @@ -535,11 +535,11 @@ public static function render_top_header( $params = array() ) {
<i class="shield icon"></i>
<?php esc_html_e( 'Security Scan', 'mainwp' ); ?>
</a>
<a class="item" href="<?php echo 'admin.php?page=SiteOpen&newWindow=yes&websiteid=' . $website['id']; ?>">
<a class="item" target="_blank" href="<?php echo 'admin.php?page=SiteOpen&newWindow=yes&websiteid=' . $website['id']; ?>">
<i class="sign-in icon"></i>
<?php esc_html_e( 'Go to WP Admin', 'mainwp' ); ?>
</a>
<a class="item" href="<?php echo esc_url( $website['url'] ); ?>">
<a class="item" target="_blank" href="<?php echo esc_url( $website['url'] ); ?>">
<i class="globe icon"></i>
<?php esc_html_e( 'Visit Site', 'mainwp' ); ?>
</a>
Expand Down

0 comments on commit 6491a23

Please sign in to comment.