WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/09/2015 03:49:24 AM (4 years ago)
Author:
SergeyBiryukov
Message:

My Sites: Make "Create a New Site" link consistent with other "Add New" links.

Props JeffMatson.
Fixes #34179.

File:
1 edited

Legend:

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

    r34912 r34979  
    829829        </td>
    830830    </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                 <?php
    835                 /** 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; ?>
    842831    </table>
    843832    <?php
Note: See TracChangeset for help on using the changeset viewer.