From f107d5e0495490d55983400c7398f64afac7ddb3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 16 Apr 2012 16:15:18 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index dc00f1119b..0834adb83e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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' );