WordPress.org

Make WordPress Core

#23928 closed defect (bug) (fixed)

Update ajax autosave unit tests for 3.6

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 (3)

comment:1 kurtpayne13 months ago

In 1253/tests:

Update ajax autosave unit tests for 3.6

See #23928

comment:2 ocean9013 months ago

  • Description modified (diff)

comment:3 ocean9011 months ago

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

Seems like fixed.

Note: See TracTickets for help on using tickets.