Commit Graph

52 Commits

Author SHA1 Message Date
Ryan Boren cb23290318 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: https://develop.svn.wordpress.org/trunk@3660 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 01:51:55 +00:00
Ryan Boren cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren c25a2ca7af Hide cookie layout behind wp_get_cookie_login() so that plugins can customize the cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@3565 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 07:30:28 +00:00
Ryan Boren b4351fd870 Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3563 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 06:11:46 +00:00
Ryan Boren 4fc77411ee Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: https://develop.svn.wordpress.org/trunk@3529 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 20:09:13 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren d9f55997b3 Make check_admin_referer() pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3497 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 23:06:58 +00:00
Ryan Boren 47d31a3d8d Reinstate user_firstname, user_lastname, and user_description in the user object for backwards compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@3488 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-27 18:14:33 +00:00
Ryan Boren d06dfa3478 Pass comment ID to comment email filters. Props Mark Jaquith. fixes #2307
git-svn-id: https://develop.svn.wordpress.org/trunk@3455 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 18:49:28 +00:00
Ryan Boren ba8e3e8d47 Make the xmlrpc user the current user. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3430 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 19:19:09 +00:00
Ryan Boren 714948d9ed Hide errors when getting usermeta in case we're upgrading and usermeta doesn't exist yet. fixes #2110
git-svn-id: https://develop.svn.wordpress.org/trunk@3343 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-23 00:32:15 +00:00
Ryan Boren 4957068837 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: https://develop.svn.wordpress.org/trunk@3330 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:14:22 +00:00
Ryan Boren ecea3fad26 is_user_logged_in()
git-svn-id: https://develop.svn.wordpress.org/trunk@3309 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:31:41 +00:00
Ryan Boren e7b4d38f78 Better user check.
git-svn-id: https://develop.svn.wordpress.org/trunk@3302 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 18:18:07 +00:00
Ryan Boren 5a02ae79af If no user is logged in, setup an empty user.
git-svn-id: https://develop.svn.wordpress.org/trunk@3299 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:40 +00:00
Ryan Boren f8f9acc610 i18n fixes from nbachiyski. #2006
git-svn-id: https://develop.svn.wordpress.org/trunk@3262 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:37:02 +00:00
Matt Mullenweg ec77539416 Better email from, fixes #1532
git-svn-id: https://develop.svn.wordpress.org/trunk@3214 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-25 22:57:26 +00:00
Ryan Boren 69f0e94125 Remove dead code.
git-svn-id: https://develop.svn.wordpress.org/trunk@3143 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:20:19 +00:00
Ryan Boren 751c08fd49 Tidy up get_userdatabylogin().
git-svn-id: https://develop.svn.wordpress.org/trunk@3137 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 18:15:59 +00:00
Matt Mullenweg e93d21f350 New logo, better login.
git-svn-id: https://develop.svn.wordpress.org/trunk@3120 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 00:51:34 +00:00
Ryan Boren 62f1fd972b Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: https://develop.svn.wordpress.org/trunk@3102 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:54:23 +00:00
Matt Mullenweg 5881c769b4 Don't allow newlines in redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@3060 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 04:38:56 +00:00
Matt Mullenweg 61e8f75faa Missed a line, fixes #1593
git-svn-id: https://develop.svn.wordpress.org/trunk@3048 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:00:06 +00:00
Ryan Boren 6daffdf70b Don't loop over empty list. Props skippy. fixes #1467
git-svn-id: https://develop.svn.wordpress.org/trunk@3038 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:55:31 +00:00
Matt Mullenweg 2b89020aa5 Use reply-to instead of from to stop acting spammy - fixes #1593
git-svn-id: https://develop.svn.wordpress.org/trunk@3035 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:07:39 +00:00
Ryan Boren e908ebc95c Use get_*() API instead of SELECTs so that we hit the cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3013 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:15:21 +00:00
Ryan Boren 0069470818 Add LIMIT 1 to some of our gets.
git-svn-id: https://develop.svn.wordpress.org/trunk@3012 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:09:09 +00:00
Ryan Boren c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Matt Mullenweg 76915903e3 Missing user line.
git-svn-id: https://develop.svn.wordpress.org/trunk@3004 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 08:58:37 +00:00
Matt Mullenweg 2b2c2e6c03 Some optimizations in queries and code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2976 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:23:17 +00:00
Ryan Boren 8baae0c89e User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: https://develop.svn.wordpress.org/trunk@2872 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:03:02 +00:00
Matt Mullenweg 5ce87df525 Fixes #1578 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2827 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:17:42 +00:00
Matt Mullenweg cfed5d658f Optimization from Skippy, fixes #1393
git-svn-id: https://develop.svn.wordpress.org/trunk@2806 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:51:14 +00:00
Matt Mullenweg fc89fd51ca Remember me button on login, fixes #379
git-svn-id: https://develop.svn.wordpress.org/trunk@2733 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:56:59 +00:00
Matt Mullenweg 3bb5555bb2 More cookie catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2726 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 20:12:48 +00:00
Matt Mullenweg 6d2fd52584 Let advanced users override cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2725 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 19:55:24 +00:00
Ryan Boren 6059fcf644 Fix typos in is_role() and get_userdata(). fixes #1509 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2711 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-14 22:58:58 +00:00
Ryan Boren d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Ryan Boren 19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg 810e0018f4 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Matt Mullenweg a990a51b42 Unecessary query, fixes #1456
git-svn-id: https://develop.svn.wordpress.org/trunk@2688 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:41:07 +00:00
Ryan Boren 80f1695619 Straighten out user_id/user_ID conflict. Don't make user_id global in get_currentuserinfo() because it stomps on the local user_id in user-edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@2644 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:27:30 +00:00
Matt Mullenweg f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Matt Mullenweg 8d1546d25f More user fixups
git-svn-id: https://develop.svn.wordpress.org/trunk@2634 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 00:05:41 +00:00
Matt Mullenweg 7f7c72cbe2 More user
git-svn-id: https://develop.svn.wordpress.org/trunk@2633 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:22:06 +00:00
Matt Mullenweg 47d80615b5 More user updates
git-svn-id: https://develop.svn.wordpress.org/trunk@2632 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:14:52 +00:00
Matt Mullenweg 1165caab60 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
Matt Mullenweg a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg 23be7d16b7 Newline regression - http://mosquito.wordpress.org/view.php?id=263 - Hat tip: mlittle
git-svn-id: https://develop.svn.wordpress.org/trunk@2607 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 00:22:30 +00:00
Matt Mullenweg 2e3c23045c Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: https://develop.svn.wordpress.org/trunk@2556 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 03:37:23 +00:00