Commit Graph

67 Commits

Author SHA1 Message Date
Ryan Boren ab27ecda6d Reset the global current_user object when the current user is changed.
git-svn-id: https://develop.svn.wordpress.org/trunk@14302 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 18:24:18 +00:00
Ryan Boren 6973ce2f9f Clear the users cache when updating user metadata. fixes #13075
git-svn-id: https://develop.svn.wordpress.org/trunk@14179 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 18:25:03 +00:00
Dion Hulse 0f638312f7 Fix Metadata deletion. See #12414 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@13496 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 10:07:55 +00:00
Andrew Nacin d37de180e1 Validate $object_id in *_metadata() functions. Props scribu fixes #11841
git-svn-id: https://develop.svn.wordpress.org/trunk@13347 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:42:54 +00:00
Andrew Nacin 2a86f138e8 Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13326 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:15:47 +00:00
Ryan Boren 72adbb470e Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Ryan Boren fa345f7f2c phpdoc for metadata API. Props wnorris. fixes #11943
git-svn-id: https://develop.svn.wordpress.org/trunk@12761 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:08:04 +00:00
Ryan Boren cd96da236b Use umeta_id for user meta. Props wnorris. fixes #11627 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12562 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 16:42:31 +00:00
Ryan Boren 1be4ed69cb Fix argument order. Props mdawaffe. fixes #11125
git-svn-id: https://develop.svn.wordpress.org/trunk@12173 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 14:43:15 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Peter Westwood 9698b2716d Fix the specification of the object_type column in delete_metadata so that it will delete stuff if $delete_all is false. See #2659
git-svn-id: https://develop.svn.wordpress.org/trunk@11999 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-06 19:18:21 +00:00
Andrew Ozz f7e5db2645 Fix delete_metadata(), see #2659
git-svn-id: https://develop.svn.wordpress.org/trunk@11996 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-05 01:08:06 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 578e956287 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11968 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:10:28 +00:00
Peter Westwood 8e26b1739b Return correct results for both single and array cases. Fixes #10803.
git-svn-id: https://develop.svn.wordpress.org/trunk@11948 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 22:11:57 +00:00
Peter Westwood 81410c1a67 Don't pass undefined vars to action hooks. See #2659.
git-svn-id: https://develop.svn.wordpress.org/trunk@11946 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 21:05:29 +00:00
Peter Westwood 482e701639 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11943 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:17:33 +00:00