Opened 15 years ago
Closed 15 years ago
#11990 closed defect (bug) (fixed)
Post thumbnail not saved
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Post Thumbnails | Keywords: | featured |
Focuses: | Cc: |
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.
Closed #11706 as dup.