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:
Andrew Nacin 2012-04-16 16:15:18 +00:00
parent b22764aa86
commit f107d5e049

View File

@ -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' );