WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/25/2014 07:11:32 AM (6 years ago)
Author:
DrewAPicture
Message:

Clean up duplicate hook notations and adjacency for calls to the wp_signup_location filter.

Also adds braces missed in [25535].

See #26869.

File:
1 edited

Legend:

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

    r27801 r28215  
    671671            <th scope="row" colspan="2" class="th-full">
    672672                <?php
    673                 $signup_url = network_site_url( 'wp-signup.php' );
    674673                /** This filter is documented in wp-login.php */
     674                $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
    675675                ?>
    676                 <a href="<?php echo apply_filters( 'wp_signup_location', $signup_url ); ?>"><?php _e( 'Create a New Site' ); ?></a>
     676                <a href="<?php echo esc_url( $sign_up_url ); ?>"><?php _e( 'Create a New Site' ); ?></a>
    677677            </th>
    678678        </tr>
Note: See TracChangeset for help on using the changeset viewer.