Changeset 33186
- Timestamp:
- 07/13/2015 12:26:21 AM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r33169 r33186 3038 3038 } 3039 3039 3040 /* Edit Site */ 3041 .network-admin .edit-site-actions { 3042 margin-top: 0; 3043 } 3044 3040 3045 /* My Sites */ 3041 3046 .my-sites { -
trunk/src/wp-admin/network/site-info.php
r33144 r33186 130 130 } 131 131 132 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); 133 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 134 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 132 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); 135 133 136 134 $parent_file = 'sites.php'; … … 142 140 143 141 <div class="wrap"> 144 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 142 <h1 id="edit-site"><?php echo $title; ?></h1> 143 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p> 145 144 <h3 class="nav-tab-wrapper"> 146 145 <?php -
trunk/src/wp-admin/network/site-settings.php
r33144 r33186 80 80 } 81 81 82 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); 83 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 84 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 82 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); 85 83 86 84 $parent_file = 'sites.php'; … … 92 90 93 91 <div class="wrap"> 94 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 92 <h1 id="edit-site"><?php echo $title; ?></h1> 93 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p> 95 94 <h3 class="nav-tab-wrapper"> 96 95 <?php -
trunk/src/wp-admin/network/site-themes.php
r33144 r33186 134 134 add_screen_option( 'per_page' ); 135 135 136 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); 137 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 138 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 136 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); 139 137 140 138 $parent_file = 'sites.php'; … … 144 142 145 143 <div class="wrap"> 146 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 144 <h1 id="edit-site"><?php echo $title; ?></h1> 145 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p> 147 146 <h3 class="nav-tab-wrapper"> 148 147 <?php -
trunk/src/wp-admin/network/site-users.php
r33145 r33186 162 162 add_screen_option( 'per_page' ); 163 163 164 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); 165 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 166 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 164 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); 167 165 168 166 $parent_file = 'sites.php'; … … 187 185 188 186 <div class="wrap"> 189 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 187 <h1 id="edit-site"><?php echo $title; ?></h1> 188 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p> 190 189 <h3 class="nav-tab-wrapper"> 191 190 <?php
Note: See TracChangeset
for help on using the changeset viewer.