Commit Graph

104 Commits

Author SHA1 Message Date
Ryan Boren
a991442f83 Close img tag. Props Otto42. fixes #6339
git-svn-id: https://develop.svn.wordpress.org/trunk@7461 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 21:39:28 +00:00
Mark Jaquith
8b6ba65861 moderation.php is no more. All hail edit-comments.php?comment_status=moderated
git-svn-id: https://develop.svn.wordpress.org/trunk@7391 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 23:24:04 +00:00
Ryan Boren
33d0588565 More nonce renewals from andy. fixes #6266
git-svn-id: https://develop.svn.wordpress.org/trunk@7376 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 04:59:54 +00:00
Ryan Boren
29cc2b5b9c Renew autosave nonce. Props andy. fixes #6266
git-svn-id: https://develop.svn.wordpress.org/trunk@7375 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 02:43:20 +00:00
Peter Westwood
3b749d6178 Give the default avatar some class.
git-svn-id: https://develop.svn.wordpress.org/trunk@7333 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 16:55:31 +00:00
Peter Westwood
ea02c0e417 Allow plugins to filter the redirect status as well as the location. See #4790.
git-svn-id: https://develop.svn.wordpress.org/trunk@7319 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 20:50:49 +00:00
Peter Westwood
c3f4c6a97b Change the default size avatar back to 96 now we are using the new gravatar.com api which supports bigger sizes.
git-svn-id: https://develop.svn.wordpress.org/trunk@7308 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 08:27:28 +00:00
Mark Jaquith
8316b8535a Use newer Gravatar URL style. props link2caro. fixes #6229
git-svn-id: https://develop.svn.wordpress.org/trunk@7306 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 02:23:27 +00:00
Ryan Boren
2290c2ab2c Update get_avatar() phpdoc
git-svn-id: https://develop.svn.wordpress.org/trunk@7158 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 22:52:36 +00:00
Ryan Boren
fc8d871335 Make sure avatar size is numeric. Props Martin2006. fixes #6069
git-svn-id: https://develop.svn.wordpress.org/trunk@7132 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 21:41:35 +00:00
Ryan Boren
6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren
c542e9f9d0 urlencode only when needed. Props spikeyslam. see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@7096 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 22:01:56 +00:00
Peter Westwood
41fe914d9e Use a default size that gravatar supports rather than one it doesn't. Fixes #6033 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@7091 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 21:11:47 +00:00
Peter Westwood
f36ec751be Ensure email address is lower case in get_avatar(). Fixes #6028 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@7087 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 16:34:59 +00:00
Ryan Boren
da19acbc4b Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: https://develop.svn.wordpress.org/trunk@6982 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:36:09 +00:00
Ryan Boren
66f1454a22 Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@6946 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 20:58:58 +00:00
Ryan Boren
641818a02b Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@6945 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 20:57:21 +00:00
Ryan Boren
4e50a6d3e2 Lose caching of user DB misses. Wasn't working out that well.
git-svn-id: https://develop.svn.wordpress.org/trunk@6929 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 05:34:51 +00:00
Ryan Boren
4611376ba5 Typo fix from rnt. fixes #5894
git-svn-id: https://develop.svn.wordpress.org/trunk@6895 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:13:21 +00:00
Peter Westwood
bca9509fa0 More specific moderation emails for {ping|track}backs. Fixes #4986 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@6873 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-16 17:03:05 +00:00
Ryan Boren
d99739dac9 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: https://develop.svn.wordpress.org/trunk@6777 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-10 07:59:34 +00:00
Ryan Boren
c179702074 Precompute the hash of the unknown avatar user to save an md5 call. Props Viper007Bond. see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@6756 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-08 07:09:01 +00:00
Ryan Boren
a132f8d9a6 Gonna serve default avatars from gravatar. see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@6749 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 06:58:38 +00:00
Ryan Boren
b0a8da663d get_avatar(). see #5775
git-svn-id: https://develop.svn.wordpress.org/trunk@6748 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 06:07:12 +00:00
Ryan Boren
c2083047a8 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: https://develop.svn.wordpress.org/trunk@6739 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-06 21:19:47 +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
70bd86e708 Add wp_authenticate_user filter
git-svn-id: https://develop.svn.wordpress.org/trunk@6685 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 20:17:11 +00:00
Peter Westwood
4f1971cfdb Switch from abs(intval()) to absint(). See #4762.
git-svn-id: https://develop.svn.wordpress.org/trunk@6682 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 18:48:38 +00:00
Ryan Boren
c1b80c091e check_ajax_referer() should look for *only* the auth_cookie, not others that look like they match. Autosave should know that an ajax response of -1 or 0 is a failure. Props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@6649 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-24 21:19:42 +00:00
Ryan Boren
0883db3afb Add check_password filter
git-svn-id: https://develop.svn.wordpress.org/trunk@6648 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-24 18:36:45 +00:00
Ryan Boren
b58ed9e123 Add wp_login_failed action
git-svn-id: https://develop.svn.wordpress.org/trunk@6647 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-24 18:32:21 +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
Ryan Boren
1bac3dd255 phpdoc for pluggable.php from darkdragon. fixes #5509
git-svn-id: https://develop.svn.wordpress.org/trunk@6637 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-20 06:53:42 +00:00
Ryan Boren
f9d48f276c phpdoc for pluggable from darkdragon. fixes #5509
git-svn-id: https://develop.svn.wordpress.org/trunk@6600 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-11 20:51:39 +00:00
Peter Westwood
98055b2cc0 Revert #5007 as it causes more trouble than it solves. Fixes #5273 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@6599 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-11 18:44:44 +00:00
Ryan Boren
6445622ec2 Concat secret key with salt. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6583 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 16:37:43 +00:00
Ryan Boren
791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren
cdbb434e6a Remove unneeded get_userdata call. Props DD32. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6531 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-31 23:39:02 +00:00
Ryan Boren
d9cfccddc1 Separate cookie generation from cookie set. Introduce wp_generate_auth_cookie(). see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6529 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-31 17:50:32 +00:00
Ryan Boren
1a4f8fd617 set_auth_cookie action. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6486 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 08:01:55 +00:00
Ryan Boren
4436a01316 Allow DB salt to be overridden by SECRET_SALT. Add a filter to wp_salt(). see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6478 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 06:34:12 +00:00
Ryan Boren
976dc65a9b Don't fallback to DB info for secret key. Allow expiration grace period for AJAX requests. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6471 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-23 00:58:06 +00:00
Ryan Boren
d20eeb048b Use __ngettext() for plurals. Props darkdragon. see #4865
git-svn-id: https://develop.svn.wordpress.org/trunk@6430 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 17:05:06 +00:00
Ryan Boren
894db1ba91 Fix AJAX cookie validation. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6400 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-17 21:12:28 +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
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