Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#45505 new defect (bug)

get_post_custom() doesn't pull values

Reported by: dryane's profile dryane Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0
Component: Options, Meta APIs Keywords: needs-patch
Focuses: Cc:


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.

Change History (1)

#1 @dryane
5 years ago

this of course is a big problem if you then save the post with empty values where filled values used to be

Note: See TracTickets for help on using tickets.