Commit Graph

250 Commits

Author SHA1 Message Date
Ryan Boren b96041289b Some password reset filters
git-svn-id: https://develop.svn.wordpress.org/trunk@7016 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-25 07:41:13 +00:00
Ryan Boren bc0893dfc2 Create password reset key only once. Props tellyworth. fixes #5990
git-svn-id: https://develop.svn.wordpress.org/trunk@7015 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-25 07:34:24 +00:00
Ryan Boren 86ef3e2e7c Show messages with message styling instead of error styling. fixes #5929
git-svn-id: https://develop.svn.wordpress.org/trunk@6987 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 22:07:53 +00:00
Ryan Boren 4d5fccf7cd Login styling updates from mt. fixes #5929
git-svn-id: https://develop.svn.wordpress.org/trunk@6922 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 00:19:01 +00:00
Ryan Boren bba5e09b61 Pass login, email, and errors to register_post action. fixes #5763
git-svn-id: https://develop.svn.wordpress.org/trunk@6821 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 18:42:07 +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 f0f95a1875 Note to self. Take note of which repository you are in before committing. Reverting [6663]
git-svn-id: https://develop.svn.wordpress.org/trunk@6664 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 20:58:26 +00:00
Ryan Boren 9735fb0f03 Don't assault Matt with password reset email.
git-svn-id: https://develop.svn.wordpress.org/trunk@6663 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 20:52:15 +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
Matt Mullenweg a2695efc33 New login screen. Clearing out images not used anymore.
git-svn-id: https://develop.svn.wordpress.org/trunk@6612 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 09:11:41 +00:00
Peter Westwood debf80f07c You are now logged out. Fixes #4754 props spencerp.
git-svn-id: https://develop.svn.wordpress.org/trunk@6566 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 10:26:40 +00:00
Ryan Boren 4d93675ccc Show session expired message only when cookie is set.
git-svn-id: https://develop.svn.wordpress.org/trunk@6420 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 22:22:21 +00:00
Ryan Boren 5b1f4e739c wp_set_password(). see #2394
git-svn-id: https://develop.svn.wordpress.org/trunk@6396 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-17 06:02:45 +00:00
Ryan Boren dbe216081d Don't show both log out and session expired messages when logging out. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6389 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 21:20:18 +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 5918e8cf1c Pluggable random password generator from pishmishy. fixes #5401
git-svn-id: https://develop.svn.wordpress.org/trunk@6385 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-15 05:31:16 +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 b3543211aa Check if REQUEST_METHOD is POST rather than cheecking if _POST is empty to determine if we were called via POST. Props xknown. fixes #5365
git-svn-id: https://develop.svn.wordpress.org/trunk@6345 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-27 08:03:33 +00:00
Ryan Boren 930a39d235 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: https://develop.svn.wordpress.org/trunk@6343 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-26 21:40:00 +00:00
Ryan Boren e90c361011 Set TEST_COOKIE for SITECOOKIEPATH. see #5076
git-svn-id: https://develop.svn.wordpress.org/trunk@6168 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-25 23:28:02 +00:00
Mark Jaquith 421356b6b8 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6131 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:23:16 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Peter Westwood 187574db35 Inform the user when cookies are disabled and login fails. Fixed #2039 props tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@6009 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 17:20:37 +00:00
Ryan Boren c6cef97007 Add some filtering. Props jhodgdon. see #4516
git-svn-id: https://develop.svn.wordpress.org/trunk@5998 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 23:55:56 +00:00
Ryan Boren e38abfba84 Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: https://develop.svn.wordpress.org/trunk@5965 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 23:23:38 +00:00
Ryan Boren f952fd8ac5 Password reset usability improvements from tellyworth. fixes #4527
git-svn-id: https://develop.svn.wordpress.org/trunk@5800 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:50:38 +00:00
rob1n fed3d408f6 Revert some links. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5634 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:42:32 +00:00
rob1n ed86a781d5 Whoops, forgot about wp-login.php. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5632 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:40:23 +00:00
rob1n baff4f7040 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: https://develop.svn.wordpress.org/trunk@5285 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:53:19 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +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 7b297e825f login accessibility patch from Viper007Bond. fixes #3620
git-svn-id: https://develop.svn.wordpress.org/trunk@5064 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-20 20:39:39 +00:00
Ryan Boren f77b96fc84 Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: https://develop.svn.wordpress.org/trunk@4983 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 03:05:41 +00:00
Ryan Boren 8372e500b1 Change wp-login submit names and ids. Props anhill. fixes #3917
git-svn-id: https://develop.svn.wordpress.org/trunk@4981 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 02:00:57 +00:00
Ryan Boren 9efbe4150c Ignore redirect_to if already logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@4969 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-06 17:03:50 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Mark Jaquith dd717f2e00 refrain from notifying the administrator of administrator password changes (it is redundant). Props rob1n for the patch refresh. fixes #1096
git-svn-id: https://develop.svn.wordpress.org/trunk@4902 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-21 02:08:28 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren fb68433d22 Login form fixes from Viper007Bond. fixes #3484
git-svn-id: https://develop.svn.wordpress.org/trunk@4652 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-20 00:30:07 +00:00
Ryan Boren 6a6fb44376 More i18n friendly login screen. Props bryanveloso. fixes #3348
git-svn-id: https://develop.svn.wordpress.org/trunk@4596 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 00:53:33 +00:00
Matt Mullenweg 4a7c411976 Some new hooks on registration, fixes #2541
git-svn-id: https://develop.svn.wordpress.org/trunk@4589 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 21:16:19 +00:00
Ryan Boren 5f4d74ee74 Fix pregs. Props Mordred.
git-svn-id: https://develop.svn.wordpress.org/trunk@4582 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 22:44:50 +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
Mark Jaquith 0255aa20dc I before E except after C. Props schulte and Nazgul. fixes #3314
git-svn-id: https://develop.svn.wordpress.org/trunk@4442 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-02 06:01:12 +00:00
Ryan Boren fddb91d85c RTL support for login sand wp_die() from Sewar. fixes #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4359 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 19:12:33 +00:00
Mark Jaquith 54789f1004 revert login $_POST vars change from [4339]. fixes #3123
git-svn-id: https://develop.svn.wordpress.org/trunk@4354 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 03:02:42 +00:00
Ryan Boren 29b992e902 Improved login from Viper007Bond. fixes #3123
git-svn-id: https://develop.svn.wordpress.org/trunk@4339 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 16:47:50 +00:00
Ryan Boren 7d25a72195 do_action_ref_array(). fixes #3125
git-svn-id: https://develop.svn.wordpress.org/trunk@4186 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-12 17:45:23 +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 092369300d Grammar fix. fixes #3026
git-svn-id: https://develop.svn.wordpress.org/trunk@4143 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:02:12 +00:00
Ryan Boren 35a2023e42 trim login
git-svn-id: https://develop.svn.wordpress.org/trunk@4062 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-28 23:16:31 +00:00
Ryan Boren 0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Ryan Boren a3301d96ab Don't trigger warning when first visiting login. fixes #2901
git-svn-id: https://develop.svn.wordpress.org/trunk@3972 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 09:45:09 +00:00
Ryan Boren 3b51a5aa38 Give feedback if username or password fields are empty. Props Nazgul. fixes #2901
git-svn-id: https://develop.svn.wordpress.org/trunk@3966 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 01:56:20 +00:00
Ryan Boren 23e2a0a25f Use wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +00:00
Ryan Boren 1f756adfc9 Assume an action of resetpass if key is given.
git-svn-id: https://develop.svn.wordpress.org/trunk@3732 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-20 22:08:37 +00:00
Ryan Boren 5ae9296015 Shorten key and action name to avoid long links that break in mail clients.
git-svn-id: https://develop.svn.wordpress.org/trunk@3731 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-20 21:44:14 +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 e5c3552381 Move raquo into gettext. Props SteveAgl. fixes #2453
git-svn-id: https://develop.svn.wordpress.org/trunk@3541 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:29:33 +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 de9f6698c2 Fix redirect when already logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@3391 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 08:46:13 +00:00
Ryan Boren acbfe4f271 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@3346 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-23 20:30:25 +00:00
Ryan Boren 028fd241ac Clear user cache when the password is reset.
git-svn-id: https://develop.svn.wordpress.org/trunk@3336 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 01:40:32 +00:00
Ryan Boren 44fc04c42e Don't treat a numeric user name as an id.
git-svn-id: https://develop.svn.wordpress.org/trunk@3310 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:45:20 +00:00
Ryan Boren 9e6d93b6d6 Trailing slashes. Propers to Mark Jaquith. fixes #1893
git-svn-id: https://develop.svn.wordpress.org/trunk@3134 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 10:10:10 +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
Matt Mullenweg 4ea5013876 Allow redirect on logout, fixes #1239
git-svn-id: https://develop.svn.wordpress.org/trunk@3044 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:35:15 +00:00
Matt Mullenweg 4b6a074982 Add HTTPS support, fixes #1372
git-svn-id: https://develop.svn.wordpress.org/trunk@3041 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:21:28 +00:00
Matt Mullenweg ee0398959b Redirect to profile unless redirect, fixes #1240
git-svn-id: https://develop.svn.wordpress.org/trunk@2985 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 22:17:34 +00:00
Matt Mullenweg 985e79217b Allow for more redirect flexibility
git-svn-id: https://develop.svn.wordpress.org/trunk@2876 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 20:57:21 +00:00
Matt Mullenweg 68ee8caad4 Better tab order, indenting
git-svn-id: https://develop.svn.wordpress.org/trunk@2747 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 01:56:02 +00:00
Matt Mullenweg 2c7be48b87 Uncheck by default, fixes #1537
git-svn-id: https://develop.svn.wordpress.org/trunk@2736 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-26 20:02:42 +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
Ryan Boren 7e94ba45c5 Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2712 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:24:08 +00:00
Ryan Boren a6881402ef Initialize message before concat.
git-svn-id: https://develop.svn.wordpress.org/trunk@2658 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-24 01:22:55 +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 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 a1ac3e7120 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: https://develop.svn.wordpress.org/trunk@2552 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:24:05 +00:00
Matt Mullenweg 399e9acf58 Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: https://develop.svn.wordpress.org/trunk@2548 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:35:48 +00:00
Ryan Boren 8480784cda Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2477 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-25 21:41:45 +00:00
Ryan Boren b82bbcce7b s/retreive/retrieve/ http://mosquito.wordpress.org/view.php?id=1071
git-svn-id: https://develop.svn.wordpress.org/trunk@2465 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 01:09:39 +00:00
Ryan Boren 7066c140e8 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@2447 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-15 16:50:26 +00:00
Ryan Boren c8b826e05b Use wp_redirect() when logging out. http://mosquito.wordpress.org/view.php?id=592 Props: toby
git-svn-id: https://develop.svn.wordpress.org/trunk@2440 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 22:29:44 +00:00
Ryan Boren fc4c1c8bfe Check for empty password reset key. http://mosquito.wordpress.org/view.php?id=1080 Props: idanso
git-svn-id: https://develop.svn.wordpress.org/trunk@2438 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 17:15:56 +00:00
Ryan Boren af3b90cc1e Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: https://develop.svn.wordpress.org/trunk@2437 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 17:06:18 +00:00
Ryan Boren df3fb34a70 Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Matt Mullenweg f8035ec6b4 Allowing more hooks into authentication - Hat tip: http://dev.webadmin.ufl.edu/~dwc/2005/03/02/authentication-plugins/
git-svn-id: https://develop.svn.wordpress.org/trunk@2425 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 22:49:42 +00:00
Matt Mullenweg ed8a84e4cd html_type to allow for true XHTML.
git-svn-id: https://develop.svn.wordpress.org/trunk@2321 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:36:57 +00:00
Matt Mullenweg cb39e25512 Mail and reset fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2236 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 06:43:23 +00:00
Matt Mullenweg 92cf533afc I almost forgot the hook
git-svn-id: https://develop.svn.wordpress.org/trunk@2216 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 02:22:36 +00:00
Matt Mullenweg a7e018dda7 Big buttons for login and registration, more robust registration and password recovery.
git-svn-id: https://develop.svn.wordpress.org/trunk@2215 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 02:19:00 +00:00
Matt Mullenweg faf0cae6a3 Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
git-svn-id: https://develop.svn.wordpress.org/trunk@2130 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 07:30:49 +00:00
Ryan Boren 7e34cc3a11 Try to fix some of the siteurl stomping. Bug 678.
git-svn-id: https://develop.svn.wordpress.org/trunk@2110 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 23:44:57 +00:00
Ryan Boren 39baae5246 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: https://develop.svn.wordpress.org/trunk@2107 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 04:56:24 +00:00
Matt Mullenweg afe99eac27 Sometimes PATH_INFO is in there anyway, so this gives us SCRIPT_NAME without relying on mod_rewrite, should be cross-platform.
git-svn-id: https://develop.svn.wordpress.org/trunk@2047 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-05 02:06:16 +00:00
Ryan Boren 939103cb50 Make sure redirect_to gets set.
git-svn-id: https://develop.svn.wordpress.org/trunk@2024 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-31 01:22:42 +00:00
Ryan Boren cfe57e77ad Do not get user level for empty user.
git-svn-id: https://develop.svn.wordpress.org/trunk@2004 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-26 17:45:47 +00:00
Matt Mullenweg 983c53b476 Make reset passwords use the same randomness we do in install.php. Hat tip: swoolley.
git-svn-id: https://develop.svn.wordpress.org/trunk@1990 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-22 02:41:32 +00:00
Matt Mullenweg f5a244747e Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: https://develop.svn.wordpress.org/trunk@1983 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 18:43:45 +00:00
Matt Mullenweg 17234ff3f1 New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: https://develop.svn.wordpress.org/trunk@1979 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 02:30:40 +00:00
Matt Mullenweg e535a6b7af Some code cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1974 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 20:56:26 +00:00
Matt Mullenweg b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Matt Mullenweg 3b9a0ec428 Don't take parts of the URI after the script name when updating the siteurl.
git-svn-id: https://develop.svn.wordpress.org/trunk@1911 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 00:18:01 +00:00
Ryan Boren 8afcef0203 Login cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1893 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-27 22:54:23 +00:00
Ryan Boren 0bee08aace Double hash password in cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@1788 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 02:21:37 +00:00
Ryan Boren 18585460f5 Login fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1774 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 07:00:22 +00:00
Matt Mullenweg 6b21282413 Minor header cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1769 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-10 18:07:33 +00:00
Matt Mullenweg 7fd906972e Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@1768 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-10 18:02:30 +00:00
Matt Mullenweg 0f87560488 Automatic login fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1754 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:31:52 +00:00
Matt Mullenweg 112d84ee01 Better redirect cleaning.
git-svn-id: https://develop.svn.wordpress.org/trunk@1751 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 16:22:31 +00:00
Matt Mullenweg 4cf19662eb Changes to how we do redirects.
git-svn-id: https://develop.svn.wordpress.org/trunk@1748 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 08:35:22 +00:00
Matt Mullenweg 075ea09876 Allow tildes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1742 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 06:45:10 +00:00
Matt Mullenweg 7d277fbd0d Code cleanup and some fixes from the WP Japan folks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1734 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:03:52 +00:00
Matt Mullenweg 1a3c14d8a9 Use mb_mail_send if available.
git-svn-id: https://develop.svn.wordpress.org/trunk@1733 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 07:44:04 +00:00
Matt Mullenweg 39394f12e4 Better errors.
git-svn-id: https://develop.svn.wordpress.org/trunk@1732 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 06:45:01 +00:00
Matt Mullenweg f8df0db15f New login system.
git-svn-id: https://develop.svn.wordpress.org/trunk@1731 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 06:23:53 +00:00
Matt Mullenweg 0da7258fa8 Move functions out of switch statement, PHP5 fix
git-svn-id: https://develop.svn.wordpress.org/trunk@1730 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 04:30:45 +00:00
Matt Mullenweg 244ed3485f Fix for people who move.
git-svn-id: https://develop.svn.wordpress.org/trunk@1526 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 09:29:25 +00:00
Ryan Boren df2f9960d1 stripslashes() from $pwd before performing the md5. Otherwise, we will not match the database password which had its slashes stripped before the MD5.
git-svn-id: https://develop.svn.wordpress.org/trunk@1510 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-05 15:54:15 +00:00
jverber 18fef1c41e More special chars encoding fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1448 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 02:02:49 +00:00
Matt Mullenweg 7de46f24c6 Use DOM to focus from Idan Sofer
git-svn-id: https://develop.svn.wordpress.org/trunk@1445 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-22 23:33:05 +00:00
Ryan Boren 79695b45b5 String translation fixups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1427 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 23:44:00 +00:00
Ryan Boren 0dfe8ffc7f Mark some strings for translation and improve string consistency. From Albert. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000024
git-svn-id: https://develop.svn.wordpress.org/trunk@1420 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-13 16:14:58 +00:00
Matt Mullenweg 7e646da0fc Typo fix from Patrick Marie.
git-svn-id: https://develop.svn.wordpress.org/trunk@1369 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-30 08:24:24 +00:00
Matt Mullenweg 717855f007 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
michelvaldrighi 592b88b572 redefining user_login fixes the case insensitive issue with password retrieval
git-svn-id: https://develop.svn.wordpress.org/trunk@1302 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 01:29:29 +00:00
Ryan Boren 5ee0dc12cc Cookie patch from rread. http://wordpress.org/support/6/5327
git-svn-id: https://develop.svn.wordpress.org/trunk@1296 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-17 19:15:45 +00:00
Matt Mullenweg 3fedfb5746 E_ALL fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1239 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:56:33 +00:00
Matt Mullenweg 20cb408553 Allow WordPress installation URI and blog URI to be different.
git-svn-id: https://develop.svn.wordpress.org/trunk@1203 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 07:27:03 +00:00
Ryan Boren da048b308a Fix grammar and markup errors. Thanks eke.
git-svn-id: https://develop.svn.wordpress.org/trunk@1182 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 15:45:42 +00:00
Ryan Boren 98a7169fd0 Mark strings for translation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1170 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-25 19:45:22 +00:00
Matt Mullenweg 94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
Dougal Campbell 484d60853a Update to use get_settings (via Otsukare in http://wordpress.org/support/6/3213#post-3)
git-svn-id: https://develop.svn.wordpress.org/trunk@966 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-09 20:23:57 +00:00
Matt Mullenweg e64b754d4a Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 19:55:45 +00:00
Matt Mullenweg 59155a15f3 Migration to get_settings
git-svn-id: https://develop.svn.wordpress.org/trunk@956 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 06:13:32 +00:00
Matt Mullenweg 37c361e964 Migrating more of the global options to get_settings().
git-svn-id: https://develop.svn.wordpress.org/trunk@955 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-29 08:43:36 +00:00
Matt Mullenweg 22ed64e4ec Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: https://develop.svn.wordpress.org/trunk@945 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:15:48 +00:00
michelvaldrighi a736154b39 now using instead of iso-8859-1
git-svn-id: https://develop.svn.wordpress.org/trunk@880 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 02:29:20 +00:00
jverber 26b33fc83d Replaced hardcoded wp_users table
git-svn-id: https://develop.svn.wordpress.org/trunk@857 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 19:43:21 +00:00
Matt Mullenweg d33a4e57d8 Correctly generate new passwords, added check for email address to slow down jerks.
git-svn-id: https://develop.svn.wordpress.org/trunk@851 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 10:07:27 +00:00
Matt Mullenweg 15deed87d1 MD5 passwords, including code from Robert Hartman and John Gray.
git-svn-id: https://develop.svn.wordpress.org/trunk@850 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-09 09:56:57 +00:00
Matt Mullenweg a9352f2b90 If it's a 0 level user direct to profile page instead of post page.
git-svn-id: https://develop.svn.wordpress.org/trunk@820 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-01 11:48:34 +00:00
Matt Mullenweg 7921245591 Fix ups.
git-svn-id: https://develop.svn.wordpress.org/trunk@771 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-13 09:23:41 +00:00
Matt Mullenweg 405c1dfd86 Blog name in password reminder.
git-svn-id: https://develop.svn.wordpress.org/trunk@743 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-09 03:02:55 +00:00
Matt Mullenweg 03a18d42ce Don't send out password if account doesn't exist, error out. We should improve error handling in this script.
git-svn-id: https://develop.svn.wordpress.org/trunk@645 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-23 21:19:30 +00:00
Matt Mullenweg ccc413011a Renaming Reloaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 09:36:13 +00:00
Matt Mullenweg 9c6a0a9403 The great renaming.
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00