From c2422f459676cc2c6c8ef354a154b346e3764e29 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@20480 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 dc00f1119..0834adb83 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' );