WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/25/2014 06:23:31 AM (5 years ago)
Author:
DrewAPicture
Message:

Ensure the register filter hook is only documented once.

See #26869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r28096 r28208  
    545545if ( get_option( 'users_can_register' ) ) :
    546546    $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
    547     /**
    548      * Filter the registration URL below the login form.
    549      *
    550      * @since 1.5.0
    551      *
    552      * @param string $registration_url Registration URL.
    553      */
     547
     548    /** This filter is documented in wp-includes/general-template.php */
    554549    echo ' | ' . apply_filters( 'register', $registration_url );
    555550endif;
     
    636631if ( get_option( 'users_can_register' ) ) :
    637632    $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
    638     /** This filter is documented in wp-login.php */
     633
     634    /** This filter is documented in wp-includes/general-template.php */
    639635    echo ' | ' . apply_filters( 'register', $registration_url );
    640636endif;
     
    893889    if ( get_option( 'users_can_register' ) ) :
    894890        $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
    895         /** This filter is documented in wp-login.php */
     891
     892        /** This filter is documented in wp-includes/general-template.php */
    896893        echo apply_filters( 'register', $registration_url ) . ' | ';
    897894    endif;
Note: See TracChangeset for help on using the changeset viewer.