WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#19390 closed defect (bug) (duplicate)

Javascript error in autosave.js when custom post type is registered without title and/or content

Reported by: sorich87 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2
Component: General Keywords: has-patch
Focuses: Cc:

Description

The error message is:

Uncaught TypeError: Cannot read property 'length' of undefined
http://localhost.localdomain/wp-includes/js/autosave.dev.js?ver=20111115 line 297

I actually saw the error when using 3.3 but it also happens in 3.2.

Attachments (1)

19390.diff (833 bytes) - added by sorich87 9 years ago.

Download all attachments as: .zip

Change History (2)

@sorich87
9 years ago

#1 @ocean90
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.