WordPress.org

Make WordPress Core

Opened 11 months ago

Last modified 11 months ago

#45505 new defect (bug)

get_post_custom() doesn't pull values

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

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.

Change History (1)

#1 @dryane
11 months 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.