[wp-trac] [WordPress Trac] #19390: Javascript error in autosave.js when custom post type is registered without title and/or content

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 29 06:35:08 UTC 2011


#19390: Javascript error in autosave.js when custom post type is registered without
title and/or content
--------------------------+-----------------------------
 Reporter:  sorich87      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19390>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list