Ticket #19862: 19862.diff
File 19862.diff, 1.3 KB (added by , 11 years ago) |
---|
-
src/wp-admin/includes/ms.php
681 681 $signup_url = network_site_url( 'wp-signup.php' ); 682 682 /** This filter is documented in wp-login.php */ 683 683 ?> 684 <a href="<?php echo apply_filters( 'wp_signup_location', $signup_url); ?>"><?php _e( 'Create a New Site' ); ?></a>684 <a href="<?php echo esc_url( apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ) ); ?>"><?php _e( 'Create a New Site' ); ?></a> 685 685 </th> 686 686 </tr> 687 687 <?php endif; ?> -
src/wp-includes/admin-bar.php
391 391 ) ); 392 392 } 393 393 394 if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) { 395 $wp_admin_bar->add_menu( array( 396 'parent' => 'my-sites-super-admin', 397 'id' => 'create-site', 398 'title' => __( 'Create a New Site' ), 399 'href' => esc_url( apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ) ), 400 ) ); 401 } 402 394 403 // Add site links 395 404 $wp_admin_bar->add_group( array( 396 405 'parent' => 'my-sites',