Commit Graph

35 Commits

Author SHA1 Message Date
Peter Westwood
0a6df71be5 Add stricter checks to wp_insert_user() to ensure we don't create a user with an empty user_login but return a WP_Error instead. Fixes #11548.
git-svn-id: https://develop.svn.wordpress.org/trunk@12468 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 15:25:00 +00:00
Peter Westwood
9d48d02ab6 Remove unecessary reference to wpdb global. Fixes 11087 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@12147 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 20:28:46 +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
Peter Westwood
50bb241850 Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: https://develop.svn.wordpress.org/trunk@11852 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 19:51:43 +00:00
Peter Westwood
10360549ba Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11784 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 21:59:52 +00:00
Peter Westwood
d251d8b6c4 Allow a different role to be set for users when they are created in a call to wp_insert_user(). Fixes #9891 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11442 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-23 21:48:36 +00:00
Ryan Boren
a606f43156 Use user_login instead of ID to check if user exists when creating unique nicenames. ID isn't available when inserting new users. Props sivel. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11331 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 18:55:32 +00:00
Ryan Boren
12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren
96467705d7 Make user_nicenames unique. Props Denis-de-Bernardy. fixes #1626
git-svn-id: https://develop.svn.wordpress.org/trunk@10997 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-18 23:21:20 +00:00
Ryan Boren
2dc15c5a81 Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:01:16 +00:00
Ryan Boren
2601e590b2 Add opt-in optioon for comment hotkeys. Props nbachiyski. fixes #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@9217 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 22:23:32 +00:00
Ryan Boren
389969dfa8 Pass old user data to profile_update action. Props AaronCampbell. fixes #7784
git-svn-id: https://develop.svn.wordpress.org/trunk@8969 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-24 16:05:21 +00:00
Peter Westwood
047ec90dee phpDoc corrections for wp-includes. See #7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8782 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 21:23:43 +00:00
Ryan Boren
c7cd726bf1 Option to force SSL. see #7561
git-svn-id: https://develop.svn.wordpress.org/trunk@8701 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 17:40:38 +00:00
Matt Mullenweg
0d07e27f8e So fresh and so clean, clean.
git-svn-id: https://develop.svn.wordpress.org/trunk@7313 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 17:02:16 +00:00
Ryan Boren
c9a9b9373a Admin color selector. see #6167
git-svn-id: https://develop.svn.wordpress.org/trunk@7249 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 21:06:03 +00:00
Ryan Boren
f1140ae187 Unescape user data before sending to wpdb::update() and wpdb::insert(), which expect unescaped data.
git-svn-id: https://develop.svn.wordpress.org/trunk@6656 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 02:21:59 +00:00
Ryan Boren
5c6aa3b2c7 phpdoc for registration from darkdragon. fixes #4383
git-svn-id: https://develop.svn.wordpress.org/trunk@6564 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 08:21:58 +00:00
Peter Westwood
a1b7802896 Deprecate comments_rss and create_user.
git-svn-id: https://develop.svn.wordpress.org/trunk@6517 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-28 21:47:54 +00:00
Ryan Boren
bb7922cd42 New secure cookie protocol. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6387 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 17:41:59 +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
Ryan Boren
ad52441c6b Save user registration time. Props mdawaffe. fixes #5300
git-svn-id: https://develop.svn.wordpress.org/trunk@6302 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-01 05:49:23 +00:00
Mark Jaquith
00a44f580a prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6241 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 03:51:11 +00:00
Ryan Boren
09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
rob1n
21ad1a92f8 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: https://develop.svn.wordpress.org/trunk@5627 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:13:41 +00:00
Matt Mullenweg
b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren
0620ac2076 Enable RTE for new users. fixes #3485
git-svn-id: https://develop.svn.wordpress.org/trunk@4651 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-19 23:19:12 +00:00
Mark Jaquith
db44b0a561 Bunch of whitespace and coding standardization.
git-svn-id: https://develop.svn.wordpress.org/trunk@4626 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 03:57:23 +00:00
Ryan Boren
e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren
7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren
1f7bcc7537 Make sure role is set when updating. Props Mark Jaquith. fixes #2817
git-svn-id: https://develop.svn.wordpress.org/trunk@3865 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 20:54:07 +00:00
Ryan Boren
216546a0b8 Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 06:43:54 +00:00