Make WordPress Core

Changeset 8972


Ignore:
Timestamp:
09/25/2008 05:13:53 AM (18 years ago)
Author:
markjaquith
Message:

Proper HTML for wp_nonce_ays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r8944 r8972  
    22322232function wp_nonce_ays( $action ) {
    22332233    $title = __( 'WordPress Failure Notice' );
    2234     $html = wp_specialchars( wp_explain_nonce( $action ) ) . '</p>';
     2234    $html = wp_specialchars( wp_explain_nonce( $action ) );
    22352235    if ( wp_get_referer() )
    2236         $html .= "<p><a href='" . remove_query_arg( 'updated', clean_url( wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>";
     2236        $html .= "</p><p><a href='" . remove_query_arg( 'updated', clean_url( wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>";
    22372237    wp_die( $html, $title);
    22382238}
Note: See TracChangeset for help on using the changeset viewer.