Changeset 53243
- Timestamp:
- 04/22/2022 10:41:59 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r53202 r53243 3657 3657 * @since 3.4.0 3658 3658 * 3659 * @param callable $ functionCallback function name.3659 * @param callable $callback Callback function name. 3660 3660 */ 3661 $ function= apply_filters( 'wp_die_ajax_handler', '_ajax_wp_die_handler' );3661 $callback = apply_filters( 'wp_die_ajax_handler', '_ajax_wp_die_handler' ); 3662 3662 } elseif ( wp_is_json_request() ) { 3663 3663 /** … … 3666 3666 * @since 5.1.0 3667 3667 * 3668 * @param callable $ functionCallback function name.3668 * @param callable $callback Callback function name. 3669 3669 */ 3670 $ function= apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' );3670 $callback = apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' ); 3671 3671 } elseif ( defined( 'REST_REQUEST' ) && REST_REQUEST && wp_is_jsonp_request() ) { 3672 3672 /** … … 3675 3675 * @since 5.2.0 3676 3676 * 3677 * @param callable $ functionCallback function name.3677 * @param callable $callback Callback function name. 3678 3678 */ 3679 $ function= apply_filters( 'wp_die_jsonp_handler', '_jsonp_wp_die_handler' );3679 $callback = apply_filters( 'wp_die_jsonp_handler', '_jsonp_wp_die_handler' ); 3680 3680 } elseif ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) { 3681 3681 /** … … 3684 3684 * @since 3.4.0 3685 3685 * 3686 * @param callable $ functionCallback function name.3686 * @param callable $callback Callback function name. 3687 3687 */ 3688 $ function= apply_filters( 'wp_die_xmlrpc_handler', '_xmlrpc_wp_die_handler' );3688 $callback = apply_filters( 'wp_die_xmlrpc_handler', '_xmlrpc_wp_die_handler' ); 3689 3689 } elseif ( wp_is_xml_request() 3690 3690 || isset( $wp_query ) && … … 3697 3697 * @since 5.2.0 3698 3698 * 3699 * @param callable $ functionCallback function name.3699 * @param callable $callback Callback function name. 3700 3700 */ 3701 $ function= apply_filters( 'wp_die_xml_handler', '_xml_wp_die_handler' );3701 $callback = apply_filters( 'wp_die_xml_handler', '_xml_wp_die_handler' ); 3702 3702 } else { 3703 3703 /** … … 3706 3706 * @since 3.0.0 3707 3707 * 3708 * @param callable $ functionCallback function name.3708 * @param callable $callback Callback function name. 3709 3709 */ 3710 $ function= apply_filters( 'wp_die_handler', '_default_wp_die_handler' );3711 } 3712 3713 call_user_func( $ function, $message, $title, $args );3710 $callback = apply_filters( 'wp_die_handler', '_default_wp_die_handler' ); 3711 } 3712 3713 call_user_func( $callback, $message, $title, $args ); 3714 3714 } 3715 3715
Note: See TracChangeset
for help on using the changeset viewer.