tests/phpunit/includes/testcase-ajax.php .
<?phpclass WP_Tests_Exception extends PHPUnit_Framework_Exception {}/*** General exception for wp_die().*/class WPDieException extends Exception {}/*** Exception for cases of wp_die(), for Ajax tests.** This means there was an error (no output, and a call to wp_die).** @package WordPress* @subpackage Unit Tests* @since 3.4.0*/class WPAjaxDieStopException extends WPDieException {}/*** Exception for cases of wp_die(), for Ajax tests.** This means the execution of the Ajax function should be halted, but the unit test* can continue. The function finished normally and there was no error (output happened,* but wp_die was called to end execution). This is used with WP_Ajax_Response::send().** @package WordPress* @subpackage Unit Tests* @since 3.4.0*/class WPAjaxDieContinueException extends WPDieException {}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。