Make WordPress Core


Ignore:
Timestamp:
10/11/2012 05:48:42 PM (13 years ago)
Author:
nacin
Message:

Trailing slash the URL for the 'Visit' link in network/sites.php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-ms-sites-list-table.php

    r21914 r22190  
    270270                            }
    271271
    272                             $actions['visit']   = "<span class='view'><a href='" . esc_url( get_home_url( $blog['blog_id'] ) ) . "' rel='permalink'>" . __( 'Visit' ) . '</a></span>';
     272                            $actions['visit']   = "<span class='view'><a href='" . esc_url( get_home_url( $blog['blog_id'], '/' ) ) . "' rel='permalink'>" . __( 'Visit' ) . '</a></span>';
    273273
    274274                            $actions = apply_filters( 'manage_sites_action_links', array_filter( $actions ), $blog['blog_id'], $blogname );
Note: See TracChangeset for help on using the changeset viewer.