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:
parent
e45ec0a52c
commit
3e360da417
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue