[wp-trac] [WordPress Trac] #18227: Autosave JS throws and error for post types with disabled title and editor
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 27 22:28:10 UTC 2011
#18227: Autosave JS throws and error for post types with disabled title and editor
--------------------------+------------------------------
Reporter: karevn | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Autosave | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by azaozz):
All autosave cares about is the `post_title` and `content`. There's no
point in trying to do a save if they don't exist, so setting `doAutoSave =
false;` and skipping all the parts dealing with title or content should be
enough.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18227#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list