Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#23928 closed defect (bug)

Update ajax autosave unit tests for 3.6 — at Version 2

Reported by: kurtpayne Owned by:
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Unit Tests Keywords:
Focuses: Cc:

Description (last modified by ocean90)

The ajax autosave unit test is failing with trunk.

Update it to be compatible with the following core changes:

  • Move nopriv_autosave to nopriv_heartbeat [23692]
  • Remove use of $login_grace_period [23699]
  • Send post_type with autosave [16657] (this was incorrect in the original unit test, I'm not sure why it's just now breaking)
  • Change $_POST['post_ID'] to $_POST['post_id'] [23683]

Change History (2)

#1 @kurtpayne
5 years ago

In 1253/tests:

Update ajax autosave unit tests for 3.6

See #23928

#2 @ocean90
5 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.