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 |
Mark Jaquith
|
8bca8131a6
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 04:39:50 +00:00 |
Andrew Nacin
|
b1ab90b3b3
|
Fix notice on users admin panel. More or less reverts earlier fix, [13617]. props miqrogroove. fixes #12555
git-svn-id: https://develop.svn.wordpress.org/trunk@13680 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-12 00:03:44 +00:00 |
Andrew Nacin
|
d14218fcd3
|
Add delete_user_option(). fixes #12573, props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@13667 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-11 18:28:31 +00:00 |
Andrew Nacin
|
40b0dea470
|
Fix warning in users.php. Fixes #12555
git-svn-id: https://develop.svn.wordpress.org/trunk@13617 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-08 14:30:17 +00:00 |
Ryan Boren
|
1604a2e58b
|
Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-03 19:08:30 +00:00 |
Andrew Nacin
|
ae7037d39b
|
Add id argument to wp_dropdown_users() and wp_dropdown_categories(). props johnbillion. Ensure we're escaping name and id in wp_dropdown_users(). fixes #12132
git-svn-id: https://develop.svn.wordpress.org/trunk@13553 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-02 18:36:49 +00:00 |
Ryan Boren
|
0a2d1ad6ec
|
Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: https://develop.svn.wordpress.org/trunk@13551 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-02 18:06:14 +00:00 |
Andrew Nacin
|
f015c58d27
|
Deprecate get_profile() for get_the_author_meta(). fixes #10695, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13464 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-27 18:11:45 +00:00 |
Andrew Nacin
|
c9dfb91763
|
Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 20:13:23 +00:00 |
Andrew Nacin
|
670b8d8bfb
|
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-22 21:25:32 +00:00 |
Andrew Nacin
|
1543bdbf56
|
Introduce *_user_meta() functions, deprecate *_usermeta() family. Fixes #10837 props scribu, technosailor.
git-svn-id: https://develop.svn.wordpress.org/trunk@13300 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-22 18:35:35 +00:00 |
Dion Hulse
|
32ad16e1e8
|
Update get_user_option()'s PHPDoc Comment to remove mentions of blog options. See #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@13220 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 10:49:07 +00:00 |
Andrew Nacin
|
9682c32c7b
|
s/$blog/$blog_id/ as an argument in wp_dropdown_users(), for consistency, see #11086
git-svn-id: https://develop.svn.wordpress.org/trunk@13123 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 20:17:15 +00:00 |
Andrew Nacin
|
e2e67c91cb
|
Don't query against entire users table in wp_dropdown_users() to be multisite friendly. Fixes #11086
git-svn-id: https://develop.svn.wordpress.org/trunk@13122 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 20:12:08 +00:00 |
Ryan Boren
|
78f16856c6
|
Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12879 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-27 18:11:17 +00:00 |
Ryan Boren
|
5c1138c35b
|
Integrate login_spam_check() into wp_authenticate_username_password(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12853 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-26 20:25:34 +00:00 |
Ryan Boren
|
aceedd977d
|
Introduce clean_user_cache(). fixes #11761
git-svn-id: https://develop.svn.wordpress.org/trunk@12766 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-19 19:23:11 +00:00 |
Ryan Boren
|
8ef8b7bad5
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-15 22:11:12 +00:00 |
Ryan Boren
|
37d1acae71
|
Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12699 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-11 22:23:58 +00:00 |
Ron Rennick
|
8b4fbdb503
|
merge in multisite login, wp-includes, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-11 21:49:40 +00:00 |
Ryan Boren
|
dfe2e39c2c
|
Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-07 00:01:52 +00:00 |
Ryan Boren
|
4aee2f753b
|
Sanitize only string and numeric fields in the user object. Props filosofo hakre. fixes #11509 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12511 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-23 15:02:06 +00:00 |
Ryan Boren
|
42e6256e10
|
Accept either user_id or user_ID. Remove user_id global. see #11271 #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12300 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-01 02:06:02 +00:00 |
Peter Westwood
|
bc19c30486
|
Restore functionality of setup_userdata() when a user id is supplied. See #11271 and #11222.
git-svn-id: https://develop.svn.wordpress.org/trunk@12288 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-27 18:17:44 +00:00 |
Ryan Boren
|
27db8a8161
|
Standardize on user_id instead of user_ID when passing comment data. fixes #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12267 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-23 21:04:11 +00:00 |
Mark Jaquith
|
737378702c
|
esc_sql() for wp-includes
git-svn-id: https://develop.svn.wordpress.org/trunk@11978 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-27 05:33:56 +00:00 |
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
Ryan Boren
|
b7f82a38b5
|
Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: https://develop.svn.wordpress.org/trunk@11929 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 13:57:48 +00:00 |
Ryan Boren
|
1649248a01
|
More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11909 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-10 14:43:45 +00:00 |
Ryan Boren
|
83698ae7e4
|
Allow case-insensitive logins. Props mdawaffe. fixes #5472
git-svn-id: https://develop.svn.wordpress.org/trunk@11397 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-19 15:56:53 +00:00 |
Mark Jaquith
|
f0336cfa7d
|
deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-18 15:11:07 +00:00 |
Ryan Boren
|
fcb4384381
|
Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: https://develop.svn.wordpress.org/trunk@10992 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-17 21:25:11 +00:00 |
Ryan Boren
|
9abb5b2f3e
|
Add link to password recovery in login error messages. Props Denis-de-Bernardy. fixes #9442
git-svn-id: https://develop.svn.wordpress.org/trunk@10960 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-16 22:07:25 +00:00 |
Peter Westwood
|
49797a374a
|
Correct phpdoc for update_user_option.
git-svn-id: https://develop.svn.wordpress.org/trunk@10891 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-08 18:24:49 +00:00 |
Ryan Boren
|
1fb1534e8f
|
Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-06 04:27:51 +00:00 |
Ryan Boren
|
d268b67e84
|
Fix wp_authenticate_user hook
git-svn-id: https://develop.svn.wordpress.org/trunk@10683 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-02 22:25:55 +00:00 |