Opened 8 years ago
Last modified 5 months ago
#45505 new defect (bug)
get_post_custom() doesn't pull values
| Reported by: | dryane | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Options, Meta APIs | Version: | 5.0 |
| Severity: | normal | Keywords: | has-patch needs-refresh |
| Cc: | Focuses: |
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
@
19 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
@
5 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
this of course is a big problem if you then save the post with empty values where filled values used to be