Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#36522 closed defect (bug) (fixed)

Incorrect reference to instance variable in Ajax test case documentation

Reported by: meitar's profile meitar Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.6
Component: Build/Test Tools Keywords: has-patch
Focuses: docs Cc:

Description

The WP_Ajax_UnitTestCase abstract class's _handleAjax method's documentation refers to a _last_message variable, but this should actually _last_response.

Trivial patch is attached.

Attachments (1)

36522.diff (459 bytes) - added by meitar 8 years ago.
Fix documentation for _handleAjax method.

Download all attachments as: .zip

Change History (4)

@meitar
8 years ago

Fix documentation for _handleAjax method.

#1 @meitar
8 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 37199:

Docs: Reference the correct variable in WP_Ajax_UnitTestCase::_handleAjax() documentation.

Props meitar.
Fixes #36522.

#3 @SergeyBiryukov
8 years ago

  • Milestone changed from Awaiting Review to 4.6
Note: See TracTickets for help on using tickets.