mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Fix typo in filter name for wp_die() APP request handler. props benbalter, fixes #20457.
git-svn-id: https://develop.svn.wordpress.org/trunk@20480 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1974,7 +1974,7 @@ function wp_die( $message = '', $title = '', $args = array() ) {
|
||||
elseif ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST )
|
||||
$function = apply_filters( 'wp_die_xmlrpc_handler', '_xmlrpc_wp_die_handler' );
|
||||
elseif ( defined( 'APP_REQUEST' ) && APP_REQUEST )
|
||||
$function = apply_filters( 'wp_die_app_bandler', '_scalar_wp_die_handler' );
|
||||
$function = apply_filters( 'wp_die_app_handler', '_scalar_wp_die_handler' );
|
||||
else
|
||||
$function = apply_filters( 'wp_die_handler', '_default_wp_die_handler' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user