Commit Graph

70 Commits

Author SHA1 Message Date
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
Ryan Boren db9f12a3be Include ID in get_users_of_blog() results. Props jeremyclarke and filosofo. fixes #9020
git-svn-id: https://develop.svn.wordpress.org/trunk@10595 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 18:42:18 +00:00
Peter Westwood 8aa657443e Much better handling of wp-login.php page load. See #8938 props wnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@10463 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 21:30:16 +00:00
Peter Westwood 0f07c161d7 Don't show the error on normal login page loads. See #8938.
git-svn-id: https://develop.svn.wordpress.org/trunk@10455 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 22:11:49 +00:00
Peter Westwood 04d6ffe39b Make authentication more pluggable than ever before. See #8938 props wnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@10437 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 22:38:19 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 6c98f491fa Make wp_user_settings() options global again. Clarify flag on get_user_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@10095 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 03:53:28 +00:00
Ryan Boren c1543ec4e6 Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: https://develop.svn.wordpress.org/trunk@9871 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-25 18:33:04 +00:00
Ryan Boren fab4e5a68e Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Peter Westwood bfe6168186 Make sure we always display something in the dropdown. See #7027.
git-svn-id: https://develop.svn.wordpress.org/trunk@9344 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-25 20:40:58 +00:00
Andrew Ozz f32c8bc427 Batch edit: allow removal of selected posts, prevent page parent lock.
git-svn-id: https://develop.svn.wordpress.org/trunk@9036 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-30 10:30:56 +00:00
Peter Westwood 2d9f6514c1 Add a filter to get_usernumposts. Fixes #7786 props Malaiac.
git-svn-id: https://develop.svn.wordpress.org/trunk@9009 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 21:26:57 +00:00
Andrew Ozz 42e00b4848 Inline Documentation for user.php, props jacobsantos, fixes #5512
git-svn-id: https://develop.svn.wordpress.org/trunk@8873 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-12 04:29:09 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Ryan Boren bab6fa872c Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8069 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:25:55 +00:00
Ryan Boren 0ef4c243d9 Remove debug cruft
git-svn-id: https://develop.svn.wordpress.org/trunk@7742 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 20:06:46 +00:00
Ryan Boren cc3f89ad7c Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@7741 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 19:00:07 +00:00
Ryan Boren de590e4055 Fix usermeta escaping. fixes #6750
git-svn-id: https://develop.svn.wordpress.org/trunk@7696 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 18:23:48 +00:00
Ryan Boren 73cdb808d1 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7692 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 04:49:19 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren d8a4c4f178 Action oriented text for expired session notice. Props lloydbudd. fixes #6193
git-svn-id: https://develop.svn.wordpress.org/trunk@7268 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 22:21:14 +00:00
Peter Westwood f4f2b5fc3c Allow plugins to filter the result of get_user_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@7253 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 21:37:23 +00:00
Ryan Boren ca7112e8d3 Make user option name sanitization consistent. Props filosofo. fixes #5901
git-svn-id: https://develop.svn.wordpress.org/trunk@6902 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 20:16:02 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren 60b802e55d Some notice fixes from Nazgul. fixes #3155
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 18:42:09 +00:00
Ryan Boren c929b2f5e5 Pass remember arg. see #5405
git-svn-id: https://develop.svn.wordpress.org/trunk@6644 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-23 18:20:59 +00:00
Ryan Boren 9ecb360c81 Refactor login. see #5405
git-svn-id: https://develop.svn.wordpress.org/trunk@6643 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-22 19:35:19 +00:00
Ryan Boren a3058bdbc2 Suppress display of DB error messages by default. Props filosofo. see #5473
git-svn-id: https://develop.svn.wordpress.org/trunk@6391 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 21:38:24 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren 26d056a4dd Hash passwords with phpass. Add wp_check_pasword() and wp_hash_password() functions. Props pishmishy. see #2394
git-svn-id: https://develop.svn.wordpress.org/trunk@6350 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-02 05:14:11 +00:00
Ryan Boren 2c8864821d get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: https://develop.svn.wordpress.org/trunk@6346 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-27 22:14:53 +00:00