ryan
|
0667ceb3be
|
Introduce WP_Meta_Query and relation support. Props scribu, greuben. fixes #17165 #17011
git-svn-id: http://svn.automattic.com/wordpress/trunk@17699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-25 17:27:35 +00:00 |
ryan
|
686c35340b
|
Allow querying empty meta values. Props scribu. fixes #15292
git-svn-id: http://svn.automattic.com/wordpress/trunk@17674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-21 18:13:03 +00:00 |
ryan
|
ae9e348cd6
|
Use proper prefix in query. Fixes user queries ordered by post count. Props ziofix, ericmann. fixes #17123 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-13 17:02:08 +00:00 |
ryan
|
f63ccddadb
|
Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-02-09 17:35:36 +00:00 |
ryan
|
b345e996c7
|
Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-25 19:20:20 +00:00 |
ryan
|
85f1feed84
|
Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-06 04:11:14 +00:00 |
ryan
|
8066547be3
|
Add some cookie filters to allow plugins more control over SSL cookie delivery. see #15330
git-svn-id: http://svn.automattic.com/wordpress/trunk@17227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-06 04:08:23 +00:00 |
ryan
|
a6e8ff128f
|
Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-01 01:52:03 +00:00 |
ryan
|
b6346ae5cd
|
Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: http://svn.automattic.com/wordpress/trunk@17189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-30 23:38:21 +00:00 |
nacin
|
f508173dc0
|
get_meta_sql should be private. see #14645.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-29 19:31:35 +00:00 |
nacin
|
95726df854
|
Revert [16995] due to the way the data enters the db. props garyc40, see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-25 18:10:59 +00:00 |
ryan
|
37f32f0431
|
Add default for who arg. see #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-20 19:02:44 +00:00 |
ryan
|
eb9fa27602
|
Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-20 17:25:39 +00:00 |
ryan
|
e8468d167a
|
Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-20 16:25:35 +00:00 |
nacin
|
0e7a94a6fe
|
Don't limit total_users. props scribu, fixes #15479.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-17 22:07:26 +00:00 |
ryan
|
58e65d1855
|
Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: http://svn.automattic.com/wordpress/trunk@17032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-17 21:48:30 +00:00 |
scribu
|
c1e19baef8
|
Disable sorting by post count for now. See #15861
git-svn-id: http://svn.automattic.com/wordpress/trunk@17024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-17 10:25:27 +00:00 |
scribu
|
0879929ca7
|
Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-17 00:38:15 +00:00 |
nacin
|
67dca406aa
|
The user description field should be esc_textarea when context is edit. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-16 10:04:21 +00:00 |
scribu
|
0a68fc29d2
|
Fetch only the required field in wp_dropdown_users(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@16974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-15 23:56:53 +00:00 |
nacin
|
e1ff72589d
|
Add user_nicename, nicename, ID to WP_User_Query orderby. props duck_, fixes #15816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-15 17:18:04 +00:00 |
nacin
|
899f0e115d
|
Allow actual DB fields in WP_User_Query orderby. props duck, see #15816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-15 16:51:38 +00:00 |
ryan
|
010b2f1eef
|
Honor defaults in wp_dropdown_users(). Props duck_. fixes #15791
git-svn-id: http://svn.automattic.com/wordpress/trunk@16916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-14 16:19:08 +00:00 |
scribu
|
6552004a1a
|
Slight logic tweak to [16889]. See #14123
git-svn-id: http://svn.automattic.com/wordpress/trunk@16890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-13 11:44:53 +00:00 |
scribu
|
75478abd5c
|
Prevent redundant wp_usermeta JOIN on single-site installs. See #14123
git-svn-id: http://svn.automattic.com/wordpress/trunk@16889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-13 11:41:00 +00:00 |
ryan
|
3f98ecf721
|
like_escape() search string. see #15764
git-svn-id: http://svn.automattic.com/wordpress/trunk@16858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-10 15:57:48 +00:00 |
nacin
|
62364410c0
|
Include the username in the incorrect password message, for clarity. fixes #14575.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-08 21:25:52 +00:00 |
ryan
|
21650c59bc
|
Meta data caching improvements. Props mdawaffe. see #15545
git-svn-id: http://svn.automattic.com/wordpress/trunk@16596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-26 21:35:26 +00:00 |
ryan
|
1310eaa966
|
should not be an array of arrays. Props nickmomrik
git-svn-id: http://svn.automattic.com/wordpress/trunk@16497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-19 23:58:29 +00:00 |
scribu
|
762eca08ca
|
Fix user pagination. Props duck_. Fixes #15479
git-svn-id: http://svn.automattic.com/wordpress/trunk@16473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-18 22:51:36 +00:00 |
scribu
|
03dd41a0d2
|
Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-14 15:50:02 +00:00 |
scribu
|
40b2c5b6c5
|
Kill WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 18:32:43 +00:00 |
scribu
|
6267650ddd
|
Split get_search_sql(). See #15170. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 18:18:45 +00:00 |
scribu
|
8885e4f78e
|
Add context to get_meta_sql(). See #15018
git-svn-id: http://svn.automattic.com/wordpress/trunk@16286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-11 10:06:05 +00:00 |
scribu
|
db1d9369eb
|
Make get_meta_sql() a standalone function. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-09 23:22:13 +00:00 |
ryan
|
8a62fb6cb5
|
Drop display_name from user search columns. It doesn't have an index. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-09 20:01:56 +00:00 |
ryan
|
59bffc3071
|
Prime blogs of user cache from old cache to avoid mass DB requests on upgrade. see #14379
git-svn-id: http://svn.automattic.com/wordpress/trunk@16225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-06 18:45:20 +00:00 |
ryan
|
20181ba697
|
Use bool not string. Props TobiasBg. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 14:43:10 +00:00 |
ryan
|
4bebab39b1
|
Allow trailing wildcard user searches by appending *. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-03 19:31:11 +00:00 |
ryan
|
6291fa9dc6
|
Anchor user search queries to the front. Limit columns searched based on what the search string looks like. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-03 19:02:42 +00:00 |
ryan
|
f5ab587c9d
|
Show latest x users with no paging if on a large network. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-03 13:34:04 +00:00 |
scribu
|
d2e8b78a42
|
Just pass meta type to get_meta_sql(). See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-01 20:34:54 +00:00 |
scribu
|
88cdfd1d90
|
Make get_meta_sql() return associative array. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-28 17:02:37 +00:00 |
ryan
|
23948ab364
|
get_current_blog_id(). Props aaroncampbell. fixes #15233
git-svn-id: http://svn.automattic.com/wordpress/trunk@16050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-28 15:46:11 +00:00 |
scribu
|
354845e683
|
More precise role querying. Props johnbillion for initial patch. Fixes #12693
git-svn-id: http://svn.automattic.com/wordpress/trunk@16048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-28 13:26:16 +00:00 |
scribu
|
9bb5485853
|
Move get() and set() methods from WP_Query to WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-27 18:16:52 +00:00 |
nacin
|
05fde90357
|
Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-27 10:46:24 +00:00 |
nacin
|
e967237499
|
Kill off get_users_of_blog args argument.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-21 13:12:05 +00:00 |
ryan
|
81f23003e3
|
Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: http://svn.automattic.com/wordpress/trunk@15882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-21 13:08:47 +00:00 |
ryan
|
c7811f19b3
|
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: http://svn.automattic.com/wordpress/trunk@15876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-20 20:43:32 +00:00 |
nacin
|
080d1b0969
|
Make get_users arg optional. props duck_. see #14572.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-20 17:21:06 +00:00 |
ryan
|
c4599ec729
|
Lose get_ordered_blogs_of_user() and set_visibility(). Not using them yet. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-19 15:32:33 +00:00 |
nacin
|
5e1184aa57
|
Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-19 07:48:22 +00:00 |
ryan
|
54ae23aa08
|
Cache invalidation for get_blogs_of_user(). fixes #14379
git-svn-id: http://svn.automattic.com/wordpress/trunk@15833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-18 17:11:00 +00:00 |
scribu
|
ba8217c8df
|
Fix warning caused by empty meta query. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-09 12:18:52 +00:00 |
scribu
|
e157f923ed
|
Get rid of redundant $this->meta_query. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-09 10:48:13 +00:00 |
scribu
|
31797f691a
|
Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@15723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 21:05:31 +00:00 |
scribu
|
f558d12bf0
|
Introduce WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@15715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 18:57:13 +00:00 |
scribu
|
1190c4094b
|
Strip redundant 'meta_' from 'meta_query' keys. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 18:26:26 +00:00 |
dd32
|
bc41e93707
|
Revert part of [15703]. The Metadata API doesnt unserialize everything.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 11:00:36 +00:00 |
dd32
|
16d7e9e96e
|
Forgot to change a variable name in [15703]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 10:03:05 +00:00 |
dd32
|
4629103d2c
|
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: http://svn.automattic.com/wordpress/trunk@15703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 09:59:53 +00:00 |
dd32
|
4ebe0cbc48
|
Fix a hard-coded database table typo. s/wp_users/$wpdb->users/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 09:43:02 +00:00 |
dd32
|
da4b33fc83
|
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: http://svn.automattic.com/wordpress/trunk@15698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-04 07:38:32 +00:00 |
ryan
|
b5008205b5
|
Admin bar, first pass. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-27 20:26:36 +00:00 |
nacin
|
5a20c05d27
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 11:21:11 +00:00 |
scribu
|
c27d704999
|
Use multiple JOINs instead of CASE in _wp_meta_sql(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-06 11:04:50 +00:00 |
scribu
|
6fd94cd065
|
Rewrite WP_User_Query to use JOIN instead of subquery. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-06 08:09:41 +00:00 |
scribu
|
7d0891ad85
|
Use get_users() in wp_dropdown_users(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 18:47:25 +00:00 |
scribu
|
7b26cd223f
|
Fix meta query in WP_User_Query. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 15:30:10 +00:00 |
scribu
|
1652fe96c1
|
fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 14:49:52 +00:00 |
scribu
|
11ff3a7ce9
|
call get_users() from get_users_of_blog()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 14:35:55 +00:00 |
scribu
|
27d0a177f7
|
introduce _wp_meta_sql(). Preparation for adding blog_id to WP_User_Query. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 13:31:33 +00:00 |
scribu
|
e675b1e837
|
WP_User_Query constructor improvements. Props filosofo. Fixes #14709
git-svn-id: http://svn.automattic.com/wordpress/trunk@15543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-08-27 15:41:32 +00:00 |
scribu
|
e7a6f6f967
|
use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-08-27 00:18:57 +00:00 |
scribu
|
020ce73746
|
Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-08-11 21:54:51 +00:00 |
dd32
|
a14d289755
|
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-30 00:05:18 +00:00 |
ryan
|
5ecd1f31f2
|
Trim trailing whitespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-11 20:19:35 +00:00 |
ryan
|
d68747d9af
|
Update get_current_user_id() and move to user.php. Props filosofo. fixes #13785
git-svn-id: http://svn.automattic.com/wordpress/trunk@15174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-08 15:12:15 +00:00 |
nacin
|
c490ca0680
|
Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-26 04:01:14 +00:00 |
ryan
|
bc596e1533
|
Fix showing selected for none. Props johnbillion. fixes #13468
git-svn-id: http://svn.automattic.com/wordpress/trunk@14779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-21 14:35:39 +00:00 |
ryan
|
72d07941c7
|
Update _fill_many_users() phpdoc. Props miqrogroove. see #13319
git-svn-id: http://svn.automattic.com/wordpress/trunk@14712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-17 16:23:35 +00:00 |
ryan
|
4437612d46
|
Setup user globals for user id 0. Props mdawaffe. fixes #13362
git-svn-id: http://svn.automattic.com/wordpress/trunk@14573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 23:02:40 +00:00 |
ryan
|
b1d6ee584a
|
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: http://svn.automattic.com/wordpress/trunk@14321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-30 17:57:30 +00:00 |
nacin
|
e64a657575
|
s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-30 03:17:49 +00:00 |
ryan
|
79ccf9e0c7
|
Don't consult global current_user object for usermeta values. Use get_userdata().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 20:55:39 +00:00 |
ryan
|
6252553037
|
Always replace dashes with underscores for keys in get_user_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 20:19:47 +00:00 |
ryan
|
e378ebfb7f
|
When storing and retrieving meta data to user object, replace dashes with underscores to get a valid php var name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 19:19:21 +00:00 |
ryan
|
5f501c920c
|
Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 18:24:45 +00:00 |
ryan
|
ec46abfe29
|
Reset the global current_user object when the current user is changed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 18:24:18 +00:00 |
nacin
|
960696ad2a
|
Fix typo in inline docs. props TobiasBg. see #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-23 15:32:31 +00:00 |
ryan
|
9f33300139
|
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: http://svn.automattic.com/wordpress/trunk@14193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-23 14:25:05 +00:00 |
ryan
|
fcd9d28f10
|
Make sure is instantiated. see #12997
git-svn-id: http://svn.automattic.com/wordpress/trunk@14094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-15 21:24:52 +00:00 |
nacin
|
b18ac8fcdb
|
Deprecate set_current_user() in favor of wp_set_current_user().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-14 22:06:03 +00:00 |
nacin
|
a7feaed0e6
|
Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-26 19:13:36 +00:00 |
nacin
|
8c8bf5039f
|
Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-19 21:15:00 +00:00 |
nacin
|
8704bbf226
|
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: http://svn.automattic.com/wordpress/trunk@13761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-19 01:11:21 +00:00 |
markjaquith
|
58d47426cc
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 04:39:50 +00:00 |
nacin
|
03eac5614c
|
Fix notice on users admin panel. More or less reverts earlier fix, [13617]. props miqrogroove. fixes #12555
git-svn-id: http://svn.automattic.com/wordpress/trunk@13680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-12 00:03:44 +00:00 |
nacin
|
54bc1d84c2
|
Add delete_user_option(). fixes #12573, props TobiasBg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-11 18:28:31 +00:00 |