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

git-svn-id: https://develop.svn.wordpress.org/trunk@15228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick 2010-06-11 17:18:17 +00:00
parent e45ec0a52c
commit 3e360da417
1 changed files with 7 additions and 0 deletions

View File

@ -796,6 +796,13 @@ function choose_primary_blog() {
?>
</td>
</tr>
<?php if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?>
<tr>
<th scope="row" colspan="2" class="th-full">
<a href="<?php echo apply_filters( 'wp_signup_location', network_home_url( 'wp-signup.php' ) ); ?>"><?php _e( 'Create a New Site' ); ?></a>
</th>
</tr>
<?php endif; ?>
</table>
<?php
}