Opened 7 years ago
Last modified 2 months ago
#45505 new defect (bug)
get_post_custom() doesn't pull values
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 5.0 |
| Component: | Options, Meta APIs | Keywords: | has-patch needs-refresh |
| Focuses: | Cc: |
Description
When you are on a post or page and change the content and reload, so that the autosave post pops up at the top, the get_post_custom() values in custom metaboxes aren't being pulled in.
get_post_meta() values however still works in that scenario.
Attachments (1)
Change History (4)
#2
@
16 months ago
- Keywords has-patch needs-testing added; needs-patch removed
I've replaced the default get_post_custom() with get_post_meta() since get_post_custom() was not functioning as expected.
#3
@
2 months ago
- Keywords needs-refresh added; needs-testing removed
I attempted to apply 45505.patch against trunk, but it does not apply cleanly.
Because the patch cannot be applied, testing is currently not possible.
Removing needs-testing and adding needs-refresh so the patch can be updated against current trunk. A refreshed patch would be appreciated.
Note: See
TracTickets for help on using
tickets.
this of course is a big problem if you then save the post with empty values where filled values used to be