Ticket #19862: 19862.patch
File 19862.patch, 1.3 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/ms.php
658 658 <?php if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?> 659 659 <tr> 660 660 <th scope="row" colspan="2" class="th-full"> 661 <a href="<?php echo apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php') ); ?>"><?php _e( 'Create a New Site' ); ?></a>661 <a href="<?php echo esc_url( apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ) ); ?>"><?php _e( 'Create a New Site' ); ?></a> 662 662 </th> 663 663 </tr> 664 664 <?php endif; ?> -
wp-includes/admin-bar.php
332 332 ) ); 333 333 } 334 334 335 if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) { 336 $wp_admin_bar->add_menu( array( 337 'parent' => 'my-sites-super-admin', 338 'id' => 'create-site', 339 'title' => __( 'Create a New Site' ), 340 'href' => esc_url( apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ) ), 341 ) ); 342 } 343 335 344 // Add site links 336 345 $wp_admin_bar->add_group( array( 337 346 'parent' => 'my-sites',