Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#36522 closed defect (bug) (fixed)

Incorrect reference to instance variable in Ajax test case documentation

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

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 10 years ago.
Fix documentation for _handleAjax method.

Download all attachments as: .zip

Change History (4)

@meitar
10 years ago

Fix documentation for _handleAjax method.

#1 @meitar
10 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
10 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 37199:

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

Props meitar.
Fixes #36522.

#3 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review4.6
Note: See TracTickets for help on using tickets.