Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#23928 closed defect (bug)

Update ajax autosave unit tests for 3.6 — at Initial Version

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


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 [r23692]
  • Remove use of $login_grace_period [r23699]
  • Send post_type with autosave [r16657] (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'] [r23683]

Change History (0)

Note: See TracTickets for help on using tickets.