Commit Graph

378 Commits

Author SHA1 Message Date
ryan
8dfd6d050f Do secure redirect only for admin destinations. see #7561
git-svn-id: http://svn.automattic.com/wordpress/trunk@8730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 20:40:34 +00:00
ryan
203086a4de Option to force SSL. see #7561
git-svn-id: http://svn.automattic.com/wordpress/trunk@8701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 17:40:38 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
westi
f69ddab179 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 20:21:34 +00:00
azaozz
44a80acfe5 Login: keep username when password is incorrect and focus on password field
git-svn-id: http://svn.automattic.com/wordpress/trunk@8454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-25 06:32:53 +00:00
ryan
702019d574 Fix case. fixes #7344 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 16:36:10 +00:00
ryan
a0b5e9133d Allow disabling password reset per user. Props axelseaa. fixes #7344 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:15:42 +00:00
ryan
8ae2545c47 Inline user_login focus JS and avoid JS error. Props azaozz. fixes #7282
git-svn-id: http://svn.automattic.com/wordpress/trunk@8314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 20:14:44 +00:00
ryan
ba56acc787 Typo fix. Props JeremyVisser. fixes #7196
git-svn-id: http://svn.automattic.com/wordpress/trunk@8210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-28 13:51:39 +00:00
ryan
63b5bd26fe Only use SSL for login POST links if SSL logins are forced. Clear old cookies. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 16:40:04 +00:00
ryan
636c562256 SSL fixes. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 22:19:27 +00:00
ryan
6adcab8b27 Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:25:55 +00:00
ryan
d1e50738c7 Don't forget to echo. Props DD32. fixes #7107 see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-08 16:56:00 +00:00
ryan
c790febe36 More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 07:39:11 +00:00
ryan
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan
5322be300a File file level phpdoc from jacobsantos. see #7037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 20:33:13 +00:00
ryan
a6a1522a8d File file level phpdoc from jacobsantos. see #7037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:50:15 +00:00
ryan
68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
ryan
5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan
d917ddc2f5 Relocate signon to the top. Props AaronCampbell. fixes #7002
git-svn-id: http://svn.automattic.com/wordpress/trunk@7958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 16:40:49 +00:00
ryan
87b1154989 Add arg to make special chars optional when generating passwords. fixes #6842 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:12:25 +00:00
ryan
79e2e8fa76 Use DB prepare on login queries. Props filosofo. fixes #6640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:30:14 +00:00
ryan
5d7980a249 Honor redirect_to for logged in users. Props DD32. fixes #6385
git-svn-id: http://svn.automattic.com/wordpress/trunk@7524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 07:43:52 +00:00
matt
8734e3d1bf So fresh and so clean, clean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 17:02:16 +00:00
matt
b1fd49fc2c logging button should be titlecase.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 08:40:53 +00:00
matt
8d03359345 Invisible ink delete links. See #5911. Also some old school colors, half-way done.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 21:49:08 +00:00
ryan
f957f7307d Include login rtl css. Props nbachiyski. fixes #6121
git-svn-id: http://svn.automattic.com/wordpress/trunk@7203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 07:11:44 +00:00
westi
7ffcd8c7d6 Abstract css colours on login page to colors-fresh. Fixes #6135 props iammattthomas.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-08 22:43:58 +00:00
ryan
b9c6db344f Some password reset filters
git-svn-id: http://svn.automattic.com/wordpress/trunk@7016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 07:41:13 +00:00
ryan
feb2950b2d Create password reset key only once. Props tellyworth. fixes #5990
git-svn-id: http://svn.automattic.com/wordpress/trunk@7015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 07:34:24 +00:00
ryan
bc092c9a68 Show messages with message styling instead of error styling. fixes #5929
git-svn-id: http://svn.automattic.com/wordpress/trunk@6987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 22:07:53 +00:00
ryan
bc187ded1d Login styling updates from mt. fixes #5929
git-svn-id: http://svn.automattic.com/wordpress/trunk@6922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 00:19:01 +00:00
ryan
487aa2bd78 Pass login, email, and errors to register_post action. fixes #5763
git-svn-id: http://svn.automattic.com/wordpress/trunk@6821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:42:07 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
ryan
c8fb582d2c Note to self. Take note of which repository you are in before committing. Reverting [6663]
git-svn-id: http://svn.automattic.com/wordpress/trunk@6664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 20:58:26 +00:00
ryan
b993fdde39 Don't assault Matt with password reset email.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 20:52:15 +00:00
ryan
6afab28342 Refactor login. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-22 19:35:19 +00:00
matt
a5d2996bd8 New login screen. Clearing out images not used anymore.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 09:11:41 +00:00
westi
92a7e547c5 You are now logged out. Fixes #4754 props spencerp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 10:26:40 +00:00
ryan
605e27ccdd Show session expired message only when cookie is set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 22:22:21 +00:00
ryan
9572687394 wp_set_password(). see #2394
git-svn-id: http://svn.automattic.com/wordpress/trunk@6396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:02:45 +00:00
ryan
a616834549 Don't show both log out and session expired messages when logging out. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:20:18 +00:00
ryan
29ef8b6f5f New secure cookie protocol. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 17:41:59 +00:00
ryan
7b16e3616c Pluggable random password generator from pishmishy. fixes #5401
git-svn-id: http://svn.automattic.com/wordpress/trunk@6385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-15 05:31:16 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan
07e337adcf Hash passwords with phpass. Add wp_check_pasword() and wp_hash_password() functions. Props pishmishy. see #2394
git-svn-id: http://svn.automattic.com/wordpress/trunk@6350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-02 05:14:11 +00:00
ryan
ec4bcf7080 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: http://svn.automattic.com/wordpress/trunk@6345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-27 08:03:33 +00:00
ryan
596dc0ac87 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: http://svn.automattic.com/wordpress/trunk@6343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-26 21:40:00 +00:00
ryan
65b2b51b63 Set TEST_COOKIE for SITECOOKIEPATH. see #5076
git-svn-id: http://svn.automattic.com/wordpress/trunk@6168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-25 23:28:02 +00:00
markjaquith
dbd3d07274 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 22:23:16 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
westi
2662be2098 Inform the user when cookies are disabled and login fails. Fixed #2039 props tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 17:20:37 +00:00
ryan
93840b1632 Add some filtering. Props jhodgdon. see #4516
git-svn-id: http://svn.automattic.com/wordpress/trunk@5998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-31 23:55:56 +00:00
ryan
014915caea Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: http://svn.automattic.com/wordpress/trunk@5965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:23:38 +00:00
ryan
17a5de92fe Password reset usability improvements from tellyworth. fixes #4527
git-svn-id: http://svn.automattic.com/wordpress/trunk@5800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:50:38 +00:00
rob1n
23057b57fb Revert some links. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:42:32 +00:00
rob1n
5d27044a24 Whoops, forgot about wp-login.php. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:40:23 +00:00
rob1n
ceb60d8af8 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: http://svn.automattic.com/wordpress/trunk@5285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:53:19 +00:00
matt
3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan
25e7b34d7d login accessibility patch from Viper007Bond. fixes #3620
git-svn-id: http://svn.automattic.com/wordpress/trunk@5064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-20 20:39:39 +00:00
ryan
8d7839b14c Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: http://svn.automattic.com/wordpress/trunk@4983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 03:05:41 +00:00
ryan
66e342ca45 Change wp-login submit names and ids. Props anhill. fixes #3917
git-svn-id: http://svn.automattic.com/wordpress/trunk@4981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 02:00:57 +00:00
ryan
e3782a3e2b Ignore redirect_to if already logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-06 17:03:50 +00:00
markjaquith
d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith
3bac160f13 refrain from notifying the administrator of administrator password changes (it is redundant). Props rob1n for the patch refresh. fixes #1096
git-svn-id: http://svn.automattic.com/wordpress/trunk@4902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-21 02:08:28 +00:00
markjaquith
5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan
db313621d6 Login form fixes from Viper007Bond. fixes #3484
git-svn-id: http://svn.automattic.com/wordpress/trunk@4652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-20 00:30:07 +00:00
ryan
223cffa7ab More i18n friendly login screen. Props bryanveloso. fixes #3348
git-svn-id: http://svn.automattic.com/wordpress/trunk@4596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-04 00:53:33 +00:00
matt
8e397f162e Some new hooks on registration, fixes #2541
git-svn-id: http://svn.automattic.com/wordpress/trunk@4589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-03 21:16:19 +00:00
ryan
d1245edae6 Fix pregs. Props Mordred.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 22:44:50 +00:00
ryan
9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
markjaquith
2bc8665e0d I before E except after C. Props schulte and Nazgul. fixes #3314
git-svn-id: http://svn.automattic.com/wordpress/trunk@4442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-02 06:01:12 +00:00
ryan
fce38c2c1f RTL support for login sand wp_die() from Sewar. fixes #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-07 19:12:33 +00:00
markjaquith
5168a867e4 revert login $_POST vars change from [4339]. fixes #3123
git-svn-id: http://svn.automattic.com/wordpress/trunk@4354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-07 03:02:42 +00:00
ryan
00326bd9ef Improved login from Viper007Bond. fixes #3123
git-svn-id: http://svn.automattic.com/wordpress/trunk@4339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 16:47:50 +00:00
ryan
ad1924f837 do_action_ref_array(). fixes #3125
git-svn-id: http://svn.automattic.com/wordpress/trunk@4186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-12 17:45:23 +00:00
ryan
849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
c6019230fc Grammar fix. fixes #3026
git-svn-id: http://svn.automattic.com/wordpress/trunk@4143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:02:12 +00:00
ryan
112f50f0e4 trim login
git-svn-id: http://svn.automattic.com/wordpress/trunk@4062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-28 23:16:31 +00:00
ryan
42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
ryan
7c57caf5e8 Don't trigger warning when first visiting login. fixes #2901
git-svn-id: http://svn.automattic.com/wordpress/trunk@3972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 09:45:09 +00:00
ryan
c132456b46 Give feedback if username or password fields are empty. Props Nazgul. fixes #2901
git-svn-id: http://svn.automattic.com/wordpress/trunk@3966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 01:56:20 +00:00
ryan
ff19f4b5a5 Use wp_redirect().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 05:38:56 +00:00
ryan
1bdf7fb263 Assume an action of resetpass if key is given.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-20 22:08:37 +00:00
ryan
199618e3b5 Shorten key and action name to avoid long links that break in mail clients.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-20 21:44:14 +00:00
ryan
e06ed8c9b6 Hide cookie layout behind wp_get_cookie_login() so that plugins can customize the cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 07:30:28 +00:00
ryan
e297c36253 Move raquo into gettext. Props SteveAgl. fixes #2453
git-svn-id: http://svn.automattic.com/wordpress/trunk@3541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:29:33 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan
f156be20cb Fix redirect when already logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 08:46:13 +00:00
ryan
242cfef107 Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 20:30:25 +00:00
ryan
e2e74cf4b9 Clear user cache when the password is reset.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 01:40:32 +00:00
ryan
d567007a42 Don't treat a numeric user name as an id.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:45:20 +00:00
ryan
c9685b895a Trailing slashes. Propers to Mark Jaquith. fixes #1893
git-svn-id: http://svn.automattic.com/wordpress/trunk@3134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 10:10:10 +00:00
matt
1fb7241355 New logo, better login.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 00:51:34 +00:00
matt
286ffcfa3d Allow redirect on logout, fixes #1239
git-svn-id: http://svn.automattic.com/wordpress/trunk@3044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:35:15 +00:00
matt
41775561d5 Add HTTPS support, fixes #1372
git-svn-id: http://svn.automattic.com/wordpress/trunk@3041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:21:28 +00:00
matt
db1941ba0b Redirect to profile unless redirect, fixes #1240
git-svn-id: http://svn.automattic.com/wordpress/trunk@2985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-05 22:17:34 +00:00
matt
6bd0ae83a3 Allow for more redirect flexibility
git-svn-id: http://svn.automattic.com/wordpress/trunk@2876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-14 20:57:21 +00:00
matt
8ffe6dfe99 Better tab order, indenting
git-svn-id: http://svn.automattic.com/wordpress/trunk@2747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 01:56:02 +00:00
matt
086e5b4c29 Uncheck by default, fixes #1537
git-svn-id: http://svn.automattic.com/wordpress/trunk@2736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-26 20:02:42 +00:00
matt
97a426b19c Remember me button on login, fixes #379
git-svn-id: http://svn.automattic.com/wordpress/trunk@2733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:56:59 +00:00
matt
6a30e8033f More cookie catchups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-18 20:12:48 +00:00
ryan
2f6ae330c0 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:24:08 +00:00
ryan
e01bad86bc Initialize message before concat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-24 01:22:55 +00:00
matt
de9cc8b12c More user updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@2632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:14:52 +00:00
matt
09adfadae0 Better headers for CGI enviroments
git-svn-id: http://svn.automattic.com/wordpress/trunk@2623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-09 00:17:43 +00:00
matt
8e076bda03 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: http://svn.automattic.com/wordpress/trunk@2552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 17:24:05 +00:00
matt
f3031d20db Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: http://svn.automattic.com/wordpress/trunk@2548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:35:48 +00:00
ryan
8682ab7007 Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
git-svn-id: http://svn.automattic.com/wordpress/trunk@2477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-25 21:41:45 +00:00
ryan
cfc06de303 s/retreive/retrieve/ http://mosquito.wordpress.org/view.php?id=1071
git-svn-id: http://svn.automattic.com/wordpress/trunk@2465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 01:09:39 +00:00
ryan
7875b024a8 Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-15 16:50:26 +00:00
ryan
16b593ec35 Use wp_redirect() when logging out. http://mosquito.wordpress.org/view.php?id=592 Props: toby
git-svn-id: http://svn.automattic.com/wordpress/trunk@2440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 22:29:44 +00:00
ryan
fc33ac0368 Check for empty password reset key. http://mosquito.wordpress.org/view.php?id=1080 Props: idanso
git-svn-id: http://svn.automattic.com/wordpress/trunk@2438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 17:15:56 +00:00
ryan
5123086148 Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: http://svn.automattic.com/wordpress/trunk@2437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 17:06:18 +00:00
ryan
8b36e6be3a Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: http://svn.automattic.com/wordpress/trunk@2436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 16:36:09 +00:00
matt
53eef6d943 Allowing more hooks into authentication - Hat tip: http://dev.webadmin.ufl.edu/~dwc/2005/03/02/authentication-plugins/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-09 22:49:42 +00:00
saxmatt
8e014dea63 html_type to allow for true XHTML.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:36:57 +00:00
saxmatt
faf873cbb6 Mail and reset fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 06:43:23 +00:00
saxmatt
6bc8ea1e28 I almost forgot the hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@2216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 02:22:36 +00:00
saxmatt
639b7c93e1 Big buttons for login and registration, more robust registration and password recovery.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 02:19:00 +00:00
saxmatt
99ea3245af Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
git-svn-id: http://svn.automattic.com/wordpress/trunk@2130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 07:30:49 +00:00
rboren
4b699a0a34 Try to fix some of the siteurl stomping. Bug 678.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 23:44:57 +00:00
rboren
122c114cd6 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: http://svn.automattic.com/wordpress/trunk@2107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 04:56:24 +00:00
saxmatt
8de73e88b2 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: http://svn.automattic.com/wordpress/trunk@2047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-05 02:06:16 +00:00
rboren
a8fa06212e Make sure redirect_to gets set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-31 01:22:42 +00:00
rboren
880b1b2495 Do not get user level for empty user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-26 17:45:47 +00:00
saxmatt
fd72d4e4d9 Make reset passwords use the same randomness we do in install.php. Hat tip: swoolley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-22 02:41:32 +00:00
saxmatt
7727b00596 Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 18:43:45 +00:00
saxmatt
90c90b336f New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 02:30:40 +00:00
saxmatt
fef86c9964 Some code cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 20:56:26 +00:00
saxmatt
65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
saxmatt
0563f1101c Don't take parts of the URI after the script name when updating the siteurl.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:18:01 +00:00
rboren
75804fd8ab Login cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 22:54:23 +00:00
rboren
f192cfe5c8 Double hash password in cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 02:21:37 +00:00
rboren
39e9a6d942 Login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 07:00:22 +00:00
saxmatt
d8722745ad Minor header cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:07:33 +00:00
saxmatt
587429f358 Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:02:30 +00:00
saxmatt
6337530119 Automatic login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:31:52 +00:00
saxmatt
c1f391ae7e Better redirect cleaning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 16:22:31 +00:00
saxmatt
c59a8a8119 Changes to how we do redirects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:35:22 +00:00
saxmatt
e4e021901d Allow tildes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 06:45:10 +00:00
saxmatt
551e52ff91 Code cleanup and some fixes from the WP Japan folks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:03:52 +00:00
saxmatt
ec34fb1d80 Use mb_mail_send if available.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 07:44:04 +00:00
saxmatt
d4050c29e9 Better errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 06:45:01 +00:00
saxmatt
ee921221b7 New login system.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 06:23:53 +00:00
saxmatt
db093a6020 Move functions out of switch statement, PHP5 fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@1730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 04:30:45 +00:00
saxmatt
9fe8ff24e2 Fix for people who move.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 09:29:25 +00:00
rboren
1c803e1f58 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: http://svn.automattic.com/wordpress/trunk@1510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-05 15:54:15 +00:00
jverber
83844c9b8b More special chars encoding fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 02:02:49 +00:00
saxmatt
c5841b82a4 Use DOM to focus from Idan Sofer
git-svn-id: http://svn.automattic.com/wordpress/trunk@1445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-22 23:33:05 +00:00
rboren
314209054d String translation fixups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 23:44:00 +00:00
rboren
25bdc0791c 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: http://svn.automattic.com/wordpress/trunk@1420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 16:14:58 +00:00
saxmatt
45745f1bd0 Typo fix from Patrick Marie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-30 08:24:24 +00:00
saxmatt
25ae03ee65 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: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
michelvaldrighi
ac06c1e31e redefining user_login fixes the case insensitive issue with password retrieval
git-svn-id: http://svn.automattic.com/wordpress/trunk@1302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 01:29:29 +00:00
rboren
b5e7e0da79 Cookie patch from rread. http://wordpress.org/support/6/5327
git-svn-id: http://svn.automattic.com/wordpress/trunk@1296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-17 19:15:45 +00:00
saxmatt
ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
saxmatt
4e4cb4e004 Allow WordPress installation URI and blog URI to be different.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +00:00
rboren
bd369e3899 Fix grammar and markup errors. Thanks eke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 15:45:42 +00:00
rboren
d56aae211c Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 19:45:22 +00:00
saxmatt
10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
emc3
dda1e539d1 Update to use get_settings (via Otsukare in http://wordpress.org/support/6/3213#post-3)
git-svn-id: http://svn.automattic.com/wordpress/trunk@966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-09 20:23:57 +00:00
saxmatt
a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt
b6aa1f6807 Migration to get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 06:13:32 +00:00
saxmatt
9e718aff7a Migrating more of the global options to get_settings().
git-svn-id: http://svn.automattic.com/wordpress/trunk@955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-29 08:43:36 +00:00
saxmatt
8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
michelvaldrighi
0d178ed361 now using instead of iso-8859-1
git-svn-id: http://svn.automattic.com/wordpress/trunk@880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 02:29:20 +00:00
jverber
e2ddf1efe1 Replaced hardcoded wp_users table
git-svn-id: http://svn.automattic.com/wordpress/trunk@857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 19:43:21 +00:00
saxmatt
51231afb16 Correctly generate new passwords, added check for email address to slow down jerks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 10:07:27 +00:00
saxmatt
bb09ce7e76 MD5 passwords, including code from Robert Hartman and John Gray.
git-svn-id: http://svn.automattic.com/wordpress/trunk@850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 09:56:57 +00:00
saxmatt
d46cb28736 If it's a 0 level user direct to profile page instead of post page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-01 11:48:34 +00:00
saxmatt
5624ca0f6c Fix ups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-13 09:23:41 +00:00
saxmatt
62f2eccb79 Blog name in password reminder.
git-svn-id: http://svn.automattic.com/wordpress/trunk@743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-09 03:02:55 +00:00
saxmatt
8f7d04c773 Don't send out password if account doesn't exist, error out. We should improve error handling in this script.
git-svn-id: http://svn.automattic.com/wordpress/trunk@645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 21:19:30 +00:00
saxmatt
99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
saxmatt
43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00