Opened 12 years ago
Closed 12 years ago
#18235 closed task (blessed) (fixed)
Clean up remnants from having negative Post_IDs
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
We switched to creating new post and having "real" post ID as soon as the user loads the Add New Post screen quite long time ago.
However there is still some code expecting negative post IDs and dealing with attachments added before a draft was saved. Seems it's time to remove it.
Attachments (3)
Change History (11)
#1
@
12 years ago
If the code is redundant it should be removed, rather than having comments around it.
@
12 years ago
Removed old code as indicated by azaozz, tested editor and QuickPress (JS and non-JS), fixed internal references to wp_write_post.
Note: See
TracTickets for help on using
tickets.
Marked the places with old and redundant code