[wp-trac] [WordPress Trac] #42699: WP_Post $post object not properly returning values for meta keys
WordPress Trac
noreply at wordpress.org
Sun Nov 26 01:29:09 UTC 2017
#42699: WP_Post $post object not properly returning values for meta keys
--------------------------------+------------------------------
Reporter: saiu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: 4.9
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+------------------------------
Comment (by dd32):
Thanks for confirming that!
Can you please verify that `$post` is a `WP_Post` instance? that error
indicates that `$post` is not an object, so is possibly an array or
something else entirely.
Are you using the global `$post` object? Can you reproduce it without
plugins / on a default theme?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42699#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list