Ticket #34179: patch.diff
File patch.diff, 1.4 KB (added by , 9 years ago) |
---|
-
wp-admin/includes/ms.php
828 828 ?> 829 829 </td> 830 830 </tr> 831 <?php if ( in_array( get_network_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?>832 <tr>833 <th scope="row" colspan="2" class="th-full">834 <?php835 /** This filter is documented in wp-login.php */836 $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );837 ?>838 <a href="<?php echo esc_url( $sign_up_url ); ?>"><?php _e( 'Create a New Site' ); ?></a>839 </th>840 </tr>841 <?php endif; ?>842 831 </table> 843 832 <?php 844 833 } -
wp-admin/my-sites.php
56 56 <?php } ?> 57 57 58 58 <div class="wrap"> 59 <h1><?php echo esc_html( $title ); ?></h1> 59 <h1> 60 <?php echo esc_html( $title ); ?> 61 <?php if ( in_array( get_network_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?> 62 <?php 63 /** This filter is documented in wp-login.php */ 64 $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); 65 ?> 66 <a href="<?php echo esc_url( $sign_up_url ); ?>" class="page-title-action"><?php _e( 'Create a New Site' ); ?></a> 67 <?php endif; ?> 68 </h1> 60 69 <?php 61 70 if ( empty( $blogs ) ) : 62 71 echo '<p>';