[wp-trac] [WordPress Trac] #14924: author/user meta data extraction error
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 26 11:32:11 UTC 2010
#14924: author/user meta data extraction error
--------------------------+-------------------------------------------------
Reporter: iamronen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0.1
Severity: major | Keywords: user, author, meta
--------------------------+-------------------------------------------------
Comment(by dd32):
using get_user_meta() works as expected.
The cause here is that the User object will store 'test-key' as 'testkey'
due to dashes not being allowed in class properties thanks to this code:
http://core.trac.wordpress.org/browser/trunk/wp-includes/user.php#L923
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14924#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list