Ticket #3363: 3363.diff
| File 3363.diff, 2.1 KB (added by , 6 years ago) |
|---|
-
src/includes/admin/classes/class-bbp-admin.php
933 933 printf( esc_html__( '%1$s - %2$s', 'bbpress' ), bbp_get_topic_id( $post->ID ), bbp_get_topic_title( $post->ID ) . "\n" ); 934 934 } 935 935 } 936 die();936 wp_die(); 937 937 } 938 938 939 939 /** … … 1013 1013 printf( esc_html__( '%1$s - %2$s', 'bbpress' ), bbp_get_user_id( $user->ID ), bbp_get_user_nicename( $user->ID, array( 'force' => $user->user_nicename ) ) . "\n" ); 1014 1014 } 1015 1015 } 1016 die();1016 wp_die(); 1017 1017 } 1018 1018 1019 1019 /** About *****************************************************************/ -
src/includes/common/ajax.php
155 155 // Send back the JSON 156 156 @header( 'Content-type: application/json' ); 157 157 echo json_encode( $response ); 158 die();158 wp_die(); 159 159 } -
tests/phpunit/bootstrap.php
11 11 12 12 // Bail if test suite cannot be found 13 13 if ( ! file_exists( WP_TESTS_DIR . '/includes/functions.php' ) ) { 14 die( "The WordPress PHPUnit test suite could not be found.\n" );14 wp_die( "The WordPress PHPUnit test suite could not be found.\n" ); 15 15 } else { 16 16 echo "Loading WordPress PHPUnit test suite...\n"; 17 17 require( WP_TESTS_DIR . '/includes/functions.php' ); -
tests/phpunit/includes/define-constants.php
50 50 51 51 // No test config found. 52 52 } else { 53 die( "wp-tests-config.php could not be found.\n" );53 wp_die( "wp-tests-config.php could not be found.\n" ); 54 54 } 55 55 56 56 // Determine whether BuddyPress is present.