Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
git-svn-id: https://develop.svn.wordpress.org/trunk@18559 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
395a623c52
commit
1b3b0e211c
@ -2808,7 +2808,7 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
|
||||
|
||||
if ( isset( $r['back_link'] ) && $r['back_link'] ) {
|
||||
$back_text = $have_gettext? __('« Back') : '« Back';
|
||||
$message .= "\n<p><a href='javascript:history.back()'>$back_text</p>";
|
||||
$message .= "\n<p><a href='javascript:history.back()'>$back_text</a></p>";
|
||||
}
|
||||
|
||||
if ( !function_exists( 'did_action' ) || !did_action( 'admin_head' ) ) :
|
||||
|
Loading…
Reference in New Issue
Block a user