[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:13:08 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: reporter-feedback | Focuses:
--------------------------------+------------------------------
Comment (by saiu):
The file referenced is one of my own, not a WP core file. The line that
gives the error is below:
`<a class="button" href="<?php echo $post->projectlink;?>">Go to
Website</a>`
The meta key is `projectlink` and the values are all simple strings as
addresses. Each one is identically formatted and is in the pattern of
`http://websiteaddress.org`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42699#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list