Changeset 7395 for trunk/wp-includes/functions.php
- Timestamp:
- 03/19/2008 06:04:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r7377 r7395 1338 1338 1339 1339 function wp_nonce_ays( $action ) { 1340 global $pagenow;1341 1340 $title = __( 'WordPress Failure Notice' ); 1342 $html .= "\t<div id='message' class='updated fade'>\n\t<p>" . wp_specialchars( wp_explain_nonce( $action ) ) . "</p>\n\t<p>";1341 $html = wp_specialchars( wp_explain_nonce( $action ) ) . '</p>'; 1343 1342 if ( wp_get_referer() ) 1344 $html .= "<a href='" . remove_query_arg( 'updated', clean_url( wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>"; 1345 $html .= "</p>\n\t</div>\n"; 1346 $html .= "</body>\n</html>"; 1347 wp_die( $html, $title ); 1343 $html .= "<p><a href='" . remove_query_arg( 'updated', clean_url( wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>"; 1344 wp_die( $html, $title); 1348 1345 } 1349 1346
Note: See TracChangeset
for help on using the changeset viewer.