mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 10:59:07 +01:00
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
This commit is contained in:
parent
3f148d4e8f
commit
c2422f4596
@ -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' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user