Opened 16 years ago
Closed 16 years ago
#8659 closed defect (bug) (fixed)
wp-includes/js/autosave.js: Force parseInt() on user supplied data to use base 10
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
parseInt will try to autodetect the original base if you don't specify it, this could lead to undesired behavior.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
This is pretty redundant IMO, the post_id's will allways be generated by WP, its not user-supplied data, so it should always be a number not prefixed with 0.