WordPress.org

Make WordPress Core

Changeset 11059


Ignore:
Timestamp:
04/22/09 21:08:19 (5 years ago)
Author:
ryan
Message:

Fix wp_nonce_ays() go back link. fixes #7436

File:
1 edited

Legend:

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

    r11024 r11059  
    23192319    $html = wp_specialchars( wp_explain_nonce( $action ) ); 
    23202320    if ( wp_get_referer() ) 
    2321         $html .= "</p><p><a href='" . remove_query_arg( 'updated', clean_url( wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>"; 
     2321        $html .= "</p><p><a href='" . clean_url( remove_query_arg( 'updated', wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>"; 
    23222322    elseif ( 'log-out' == $action ) 
    23232323        $html .= "</p><p>" . sprintf( __( "Do you really want to <a href='%s'>log out</a>?"), wp_logout_url() ); 
Note: See TracChangeset for help on using the changeset viewer.