Commit Graph

168 Commits

Author SHA1 Message Date
Ryan Boren
5448fc8160 If no angle brackets, assume email address. Props donncha. fixes #9086 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10541 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 23:51:51 +00:00
Ryan Boren
ad71598fc8 Seed cookie hash key with a fragment from the password hash
git-svn-id: https://develop.svn.wordpress.org/trunk@10486 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-03 05:03:16 +00:00
Ryan Boren
27ddfadac3 Pluggables phpdoc updates. Props filosofo. fixes #9001
git-svn-id: https://develop.svn.wordpress.org/trunk@10469 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-30 18:08:28 +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
Ryan Boren
366a05425d Use secure.gravatar.com for SSL avatar requests. fixes #8988 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10461 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 17:58: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
17eacc240c Remove update_user_cache(). Long dead.
git-svn-id: https://develop.svn.wordpress.org/trunk@10395 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-21 19:21:51 +00:00
Ryan Boren
f04a7d1efa phpdoc updates for wp_generate_password(). Props sivel. fixes #8688 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10271 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 19:47:59 +00:00
Ryan Boren
0cc431b007 Update secret-key url. Props sivel. fixes #8687 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10241 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-22 23:00:13 +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
f3dd1ef856 Introduce NONCE_SALT and NONCE_KEY
git-svn-id: https://develop.svn.wordpress.org/trunk@10120 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 21:31:13 +00:00
Mark Jaquith
68d8954313 Do not redirect to options.php on login if user was POSTing to options.php from another page. props fitztrev. fixes #8133
git-svn-id: https://develop.svn.wordpress.org/trunk@9775 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 05:07:24 +00:00
Mark Jaquith
0627e9a2fe A couple more hCard CSS classes for comments from wnorris. fixes #8264
git-svn-id: https://develop.svn.wordpress.org/trunk@9764 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 22:06:51 +00:00
Andrew Ozz
528fe647e4 Fix default Gravatar URLs, props DD32, fixes #8232
git-svn-id: https://develop.svn.wordpress.org/trunk@9728 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 23:30:33 +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
Ryan Boren
5554345fa8 Provide fallback salt to accommodate custom schemes. Props tellyworth. fixes #8212
git-svn-id: https://develop.svn.wordpress.org/trunk@9680 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 16:35:14 +00:00
Ryan Boren
42adea08a5 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@9374 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 03:43:52 +00:00
Ryan Boren
06c6a7d153 Introduce normalize_whitespace(). Use it instead of wp_text_diff() when checking for identical autosave revisions. Props tellyworth. fixes #7691
git-svn-id: https://develop.svn.wordpress.org/trunk@9302 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 20:03:16 +00:00
Ryan Boren
b406bec607 phpdoc corrections from jacobsantos. see #7918
git-svn-id: https://develop.svn.wordpress.org/trunk@9243 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 20:46:30 +00:00
Peter Westwood
e99eff7d52 Add attachment support to wp_mail. Fixes #7787 props AaronCampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@9213 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:57:49 +00:00
Ryan Boren
99c9bd2818 get_avatar() phpdoc update from Speedboxer. fixes #7536
git-svn-id: https://develop.svn.wordpress.org/trunk@9200 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 18:37:05 +00:00
Peter Westwood
c2178198f4 Default to an empty alt attribute on Avatars. Fixes #7536.
git-svn-id: https://develop.svn.wordpress.org/trunk@9127 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-12 18:03:54 +00:00
Ryan Boren
9c3fd20686 get_comment_type() sets comment_type to 'comment'. Allow for that in get_avatar().
git-svn-id: https://develop.svn.wordpress.org/trunk@9084 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-05 04:48:17 +00:00
Ryan Boren
ede64bdbf9 Avatar alt fixes from nbachiyski. fixes #7536
git-svn-id: https://develop.svn.wordpress.org/trunk@9076 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-03 03:20:54 +00:00
Ryan Boren
6018669f89 Don't show avatar for pingbacks or trackbacks
git-svn-id: https://develop.svn.wordpress.org/trunk@9075 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-03 03:12:42 +00:00
Peter Westwood
86d95698db Fix notice in check_admin_referrer.
git-svn-id: https://develop.svn.wordpress.org/trunk@9026 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-28 21:08:25 +00:00
Ryan Boren
eb093c7182 Don't append HTTPOnly if cookie domain is empty. see #7677
git-svn-id: https://develop.svn.wordpress.org/trunk@8811 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 05:35:58 +00:00
Ryan Boren
04d12df410 No HTTPOnly for Safari
git-svn-id: https://develop.svn.wordpress.org/trunk@8810 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 00:10:34 +00:00
Ryan Boren
4705e219df HttpOnly for PHP < 5.2. Props _ck_. see #7677
git-svn-id: https://develop.svn.wordpress.org/trunk@8808 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-04 19:55:30 +00:00
Ryan Boren
45b9a95b0d Try out httponly for auth cookies. see #7677
git-svn-id: https://develop.svn.wordpress.org/trunk@8798 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-03 18:24:28 +00:00
Ryan Boren
5725b0ae44 Don't ignore scheme when cookie value is empty. Props bendalton. fixes #7521
git-svn-id: https://develop.svn.wordpress.org/trunk@8731 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 21:09:26 +00:00
Ryan Boren
00e2cd0917 Do secure redirect only for admin destinations. see #7561
git-svn-id: https://develop.svn.wordpress.org/trunk@8730 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 20:40:34 +00:00
Ryan Boren
835b51ff59 wp_rand() - more randy rands
git-svn-id: https://develop.svn.wordpress.org/trunk@8728 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 17:52:28 +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
Ryan Boren
78a2c0f781 Some cookie validation hooks. fixes #7440
git-svn-id: https://develop.svn.wordpress.org/trunk@8696 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 00:08:25 +00:00
Peter Westwood
73bcc94ddf alt attibutes for get_avatar(). Fixes #7523 props Speedboxer.
git-svn-id: https://develop.svn.wordpress.org/trunk@8661 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-17 11:23:49 +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
Ryan Boren
ea522c10c9 Fix Text/Diff includes. Props codestyling. fixes #7391 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8581 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 21:02:07 +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
Andrew Ozz
c4d5fd7ce9 Revert 8562
git-svn-id: https://develop.svn.wordpress.org/trunk@8564 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 00:44:40 +00:00
Andrew Ozz
b07aca4429 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8562 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 23:56:52 +00:00
Peter Westwood
0737fd60d5 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: https://develop.svn.wordpress.org/trunk@8489 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 20:21:34 +00:00
Ryan Boren
20611718e2 Workaround PHP parse_url() bug. Props azaozz. fixes #7288
git-svn-id: https://develop.svn.wordpress.org/trunk@8324 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-13 05:16:54 +00:00
Ryan Boren
b980b3f310 Set auth cookie for plugins directory to support direct load plugin files that call auth_redirect(). see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8209 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 22:54:21 +00:00
Ryan Boren
1d3ec18c2d Only use SSL for login POST links if SSL logins are forced. Clear old cookies. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8197 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 16:40:04 +00:00
Ryan Boren
3f0d3c8055 SSL fixes. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8190 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 22:19:27 +00:00
Ryan Boren
ef20031e40 phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@8164 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-22 20:23:23 +00:00
Ryan Boren
f6ee577705 Handle cc and bcc. Props MattyRob. fixes #6899
git-svn-id: https://develop.svn.wordpress.org/trunk@8098 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 20:02:10 +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