WordPress.org

Make WordPress Core

Ticket #42529: 42529.patch

File 42529.patch, 486 bytes (added by skostadinov, 2 years ago)

Now i fixed this.

  • wp-includes/admin-bar.php

    diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php
    index 1be7034a40..186dd3c85b 100644
    a b function wp_admin_bar_site_menu( $wp_admin_bar ) { 
    336336                        'id'     => 'view-site',
    337337                        'title'  => __( 'Visit Site' ),
    338338                        'href'   => home_url( '/' ),
     339                        'meta'   => array(
     340                                'target' => '_blank'
     341                        ),
    339342                ) );
    340343
    341344                if ( is_blog_admin() && is_multisite() && current_user_can( 'manage_sites' ) ) {