From c39ba1cdd9249dc0cbe37d9111b84bbaad586dc6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 Apr 2016 02:28:03 +0000 Subject: [PATCH] Docs: Reference the correct variable in `WP_Ajax_UnitTestCase::_handleAjax()` documentation. Props meitar. Fixes #36522. git-svn-id: https://develop.svn.wordpress.org/trunk@37199 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/testcase-ajax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/includes/testcase-ajax.php b/tests/phpunit/includes/testcase-ajax.php index 6b4e6ea9b6..ea809d560e 100644 --- a/tests/phpunit/includes/testcase-ajax.php +++ b/tests/phpunit/includes/testcase-ajax.php @@ -175,10 +175,10 @@ abstract class WP_Ajax_UnitTestCase extends WP_UnitTestCase { /** * Mimic the ajax handling of admin-ajax.php * Capture the output via output buffering, and if there is any, store - * it in $this->_last_message. + * it in $this->_last_response. * @param string $action */ - protected function _handleAjax($action) { + protected function _handleAjax( $action ) { // Start output buffering ini_set( 'implicit_flush', false );