Changeset 34979
- Timestamp:
- 10/09/2015 03:49:24 AM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r34912 r34979 829 829 </td> 830 830 </tr> 831 <?php if ( in_array( get_site_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 -
trunk/src/wp-admin/my-sites.php
r33442 r34979 57 57 58 58 <div class="wrap"> 59 <h1><?php echo esc_html( $title ); ?></h1> 59 <h1><?php 60 echo esc_html( $title ); 61 62 if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) { 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 printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html_x( 'Add New', 'site' ) ); 66 } 67 ?></h1> 68 60 69 <?php 61 70 if ( empty( $blogs ) ) :
Note: See TracChangeset
for help on using the changeset viewer.