Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6fa755e68e
commit
ec3476720e
|
@ -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