[wp-trac] Re: [WordPress Trac] #8658: [PATCH]
wp-includes/js/autosave.js:
check if properties are defined before use
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 18 02:29:45 GMT 2008
#8658: [PATCH] wp-includes/js/autosave.js: check if properties are defined before
use
--------------------------+-------------------------------------------------
Reporter: projct | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.7.1
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Changes (by projct):
* summary: [PATCH] wp-includes/js/autosave.js: define content property
of post_data before use => [PATCH] wp-
includes/js/autosave.js: check if properties
are defined before use
Comment:
ok, this looks more like the right solution. please inspect.
check type of post_data["content"] and post_data["post_title"] before
trying to use them.
--
Ticket URL: <http://trac.wordpress.org/ticket/8658#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list