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
This commit is contained in:
parent
2e6c1d4d6c
commit
c39ba1cdd9
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue