WordPress.org

Make WordPress Core

Changeset 15228


Ignore:
Timestamp:
06/11/10 17:18:17 (4 years ago)
Author:
wpmuguru
Message:

add create site link to My Sites page, original patch props filosofo, fixes #13852

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r14717 r15228  
    797797        </td> 
    798798    </tr> 
     799    <?php if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?> 
     800        <tr> 
     801            <th scope="row" colspan="2" class="th-full"> 
     802                <a href="<?php echo apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ); ?>"><?php _e( 'Create a New Site' ); ?></a> 
     803            </th> 
     804        </tr> 
     805    <?php endif; ?> 
    799806    </table> 
    800807    <?php 
Note: See TracChangeset for help on using the changeset viewer.