Opened 16 years ago
Closed 16 years ago
#11990 closed defect (bug) (fixed)
Post thumbnail not saved
| Reported by: | alexrabe | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Post Thumbnails | Version: | 2.9 |
| Severity: | normal | Keywords: | featured |
| Cc: | Focuses: |
Description
Follow prodedure :
- Add new post
- Select "post thumbnail"
- Save as draft or publish
Assigned Post thumbnail is not longer linked. Reason :
admin-ajax.php ('set-post-thumbnail'), saves the relationship :
update_post_meta( $post_id, '_thumbnail_id', $thumbnail_id );
But when the post is not saved as draft/prublish it has a negativ ID (-12345679), which is not allowed for wp_postmedia column -> post_id and also not updated after you save the post
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Closed #11706 as dup.