Andrew Nacin
|
f77e992298
|
Kill off get_users_of_blog args argument.
git-svn-id: https://develop.svn.wordpress.org/trunk@15883 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 13:12:05 +00:00 |
Ryan Boren
|
682376a2ae
|
Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 13:08:47 +00:00 |
Ryan Boren
|
76b207939d
|
Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 20:43:32 +00:00 |
Andrew Nacin
|
4568da6764
|
Make get_users arg optional. props duck_. see #14572.
git-svn-id: https://develop.svn.wordpress.org/trunk@15873 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-20 17:21:06 +00:00 |
Ryan Boren
|
15cda12c28
|
Lose get_ordered_blogs_of_user() and set_visibility(). Not using them yet. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15851 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 15:32:33 +00:00 |
Andrew Nacin
|
fb4e38b0e7
|
Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 07:48:22 +00:00 |
Ryan Boren
|
cdafd5fe89
|
Cache invalidation for get_blogs_of_user(). fixes #14379
git-svn-id: https://develop.svn.wordpress.org/trunk@15833 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-18 17:11:00 +00:00 |
scribu
|
a080a0a289
|
Fix warning caused by empty meta query. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15768 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-09 12:18:52 +00:00 |
scribu
|
a3ee8cac1a
|
Get rid of redundant $this->meta_query. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15766 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-09 10:48:13 +00:00 |
scribu
|
12fdf54fdd
|
Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@15723 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 21:05:31 +00:00 |
scribu
|
a811171a0c
|
Introduce WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@15715 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 18:57:13 +00:00 |
scribu
|
ec8503802e
|
Strip redundant 'meta_' from 'meta_query' keys. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15714 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 18:26:26 +00:00 |
Dion Hulse
|
9f034ad032
|
Revert part of [15703]. The Metadata API doesnt unserialize everything.
git-svn-id: https://develop.svn.wordpress.org/trunk@15706 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 11:00:36 +00:00 |
Dion Hulse
|
996e0020b2
|
Forgot to change a variable name in [15703]
git-svn-id: https://develop.svn.wordpress.org/trunk@15704 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 10:03:05 +00:00 |
Dion Hulse
|
6c9b29e6f3
|
Simplify get_user_metavalues() to entirely rely upon the Metadata API, Removes a direct SQL Query. de-serializing is handled by the Metadata API now.
git-svn-id: https://develop.svn.wordpress.org/trunk@15703 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 09:59:53 +00:00 |
Dion Hulse
|
761ad85a17
|
Fix a hard-coded database table typo. s/wp_users/$wpdb->users/
git-svn-id: https://develop.svn.wordpress.org/trunk@15702 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 09:43:02 +00:00 |
Dion Hulse
|
5255794ad1
|
get_user_metavalues(): Use cached user objects when querying for a single user, Prevents duplicate usermeta queries from Adminbar. Whitespace & s/AS/as/. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15698 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 07:38:32 +00:00 |
Ryan Boren
|
733af07765
|
Admin bar, first pass. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15671 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-27 20:26:36 +00:00 |
Andrew Nacin
|
9494e4ce7e
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-07 11:21:11 +00:00 |
scribu
|
8747d3d214
|
Use multiple JOINs instead of CASE in _wp_meta_sql(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15580 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-06 11:04:50 +00:00 |
scribu
|
7168dd09dd
|
Rewrite WP_User_Query to use JOIN instead of subquery. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15579 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-06 08:09:41 +00:00 |
scribu
|
a258200257
|
Use get_users() in wp_dropdown_users(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15574 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-05 18:47:25 +00:00 |
scribu
|
54cafea37d
|
Fix meta query in WP_User_Query. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15570 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-05 15:30:10 +00:00 |
scribu
|
9344ecc8b5
|
fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: https://develop.svn.wordpress.org/trunk@15567 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-05 14:49:52 +00:00 |
scribu
|
ef3ee6e841
|
call get_users() from get_users_of_blog()
git-svn-id: https://develop.svn.wordpress.org/trunk@15566 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-05 14:35:55 +00:00 |
scribu
|
529a40e2b8
|
introduce _wp_meta_sql(). Preparation for adding blog_id to WP_User_Query. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15565 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-05 13:31:33 +00:00 |
scribu
|
22640aa231
|
WP_User_Query constructor improvements. Props filosofo. Fixes #14709
git-svn-id: https://develop.svn.wordpress.org/trunk@15543 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-08-27 15:41:32 +00:00 |
scribu
|
8993abd1be
|
use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-08-27 00:18:57 +00:00 |
scribu
|
fb9394167f
|
Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-08-11 21:54:51 +00:00 |
Dion Hulse
|
7efc4efdaa
|
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-30 00:05:18 +00:00 |
Ryan Boren
|
82be9621ec
|
Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-11 20:19:35 +00:00 |
Ryan Boren
|
1a68c0e8bb
|
Update get_current_user_id() and move to user.php. Props filosofo. fixes #13785
git-svn-id: https://develop.svn.wordpress.org/trunk@15174 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-08 15:12:15 +00:00 |
Andrew Nacin
|
b8a0634d79
|
Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14931 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 04:01:14 +00:00 |
Ryan Boren
|
ffed6e8554
|
Fix showing selected for none. Props johnbillion. fixes #13468
git-svn-id: https://develop.svn.wordpress.org/trunk@14779 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-21 14:35:39 +00:00 |
Ryan Boren
|
77ab66972b
|
Update _fill_many_users() phpdoc. Props miqrogroove. see #13319
git-svn-id: https://develop.svn.wordpress.org/trunk@14712 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-17 16:23:35 +00:00 |
Ryan Boren
|
ee1bdf9c7a
|
Setup user globals for user id 0. Props mdawaffe. fixes #13362
git-svn-id: https://develop.svn.wordpress.org/trunk@14573 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 23:02:40 +00:00 |
Ryan Boren
|
d35bf06afa
|
Replace dashes with empty strings instead of underscores so that keys match keys that might be stored in a persistent cache from 2.9. Remove current user reset. Kinda buggy.
git-svn-id: https://develop.svn.wordpress.org/trunk@14321 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-30 17:57:30 +00:00 |
Andrew Nacin
|
2473cefe8f
|
s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-30 03:17:49 +00:00 |
Ryan Boren
|
5e6e16a033
|
Don't consult global current_user object for usermeta values. Use get_userdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@14311 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 20:55:39 +00:00 |
Ryan Boren
|
854c4d8fa7
|
Always replace dashes with underscores for keys in get_user_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@14309 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 20:19:47 +00:00 |
Ryan Boren
|
111b7d58c5
|
When storing and retrieving meta data to user object, replace dashes with underscores to get a valid php var name.
git-svn-id: https://develop.svn.wordpress.org/trunk@14307 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 19:19:21 +00:00 |
Ryan Boren
|
d2e7d2a8c3
|
Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14303 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 18:24:45 +00:00 |
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 |
Andrew Nacin
|
de3a5eca3b
|
Fix typo in inline docs. props TobiasBg. see #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14196 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 15:32:31 +00:00 |
Ryan Boren
|
bfe3ca3b90
|
Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14193 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 14:25:05 +00:00 |
Ryan Boren
|
ff34eb17d6
|
Make sure is instantiated. see #12997
git-svn-id: https://develop.svn.wordpress.org/trunk@14094 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-15 21:24:52 +00:00 |
Andrew Nacin
|
b202c22008
|
Deprecate set_current_user() in favor of wp_set_current_user().
git-svn-id: https://develop.svn.wordpress.org/trunk@14090 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-14 22:06:03 +00:00 |
Andrew Nacin
|
e34ca97ae0
|
Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-26 19:13:36 +00:00 |
Andrew Nacin
|
ddc506f01c
|
Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:15:00 +00:00 |
Andrew Nacin
|
997913449c
|
Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@13761 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 01:11:21 +00:00 |