Commit Graph

213 Commits

Author SHA1 Message Date
Andrew Nacin
d1e195db99 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 04:06:30 +00:00
Andrew Nacin
43d5926b6b Fall back to wp_generate_password() in setup-config.php if HTTPS request for secret keys fails. Also use pretty link to secret-key API, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13133 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:47:45 +00:00
Andrew Nacin
8e79d5c2ac Move deprecated functions to deprecated.php. Deprecate get_the_attachment_link() for wp_get_attachment_link(), get_attachment_icon_src() for wp_get_attachment_image_src(),
get_attachment_icon() and get_attachment_innerHTML() for wp_get_attachment_image(), get_link() for get_bookmark(). Add missing deprecated version numbers. Add inline documentation to pluggable functions that are deprecated. See #11388

git-svn-id: https://develop.svn.wordpress.org/trunk@13093 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:39:51 +00:00
Andrew Nacin
75a99f62cd Optimize wp_rand(), only check transient when needed. Fixes #12144.
git-svn-id: https://develop.svn.wordpress.org/trunk@13080 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:33:33 +00:00
Peter Westwood
582ed1fb9d Ensure we ignore the _SALT defines if they are set to the "default" unconfigured values or empty. See #12159.
git-svn-id: https://develop.svn.wordpress.org/trunk@13058 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 22:51:51 +00:00
Ryan Boren
5a13380cf4 Move blog deletion to ms-delete-site.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12828 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:46:41 +00:00
Ryan Boren
8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Peter Westwood
1a17554691 Run the old WPMU random_password filter in wp_generate_password(). Fixes #11746 props uglyrobot.
git-svn-id: https://develop.svn.wordpress.org/trunk@12653 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:49:04 +00:00
Ryan Boren
974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Ryan Boren
60a2805b0d Don't fall back to logged in cookie if in the admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12408 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 19:57:20 +00:00
Andrew Ozz
86c09f699b Add 'trash' in comment moderation emails, props nacin, fixes #11426
git-svn-id: https://develop.svn.wordpress.org/trunk@12402 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 10:55:55 +00:00
Peter Westwood
65e4e2b2a3 Fix some more html encoding in email subject issues. Fixes #9913.
git-svn-id: https://develop.svn.wordpress.org/trunk@12398 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 22:09:54 +00:00
Peter Westwood
010138e0df Don't html encode quotes in the blogname in email subjects as this is a plain text output. Fixes #9913 props tenpura.
git-svn-id: https://develop.svn.wordpress.org/trunk@12388 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 11:38:45 +00:00
Mark Jaquith
ef69d82092 Use http_response_code for wp_redirect(), so that fastcgi hosts always get 301 redirect love. props error. fixes #6779
git-svn-id: https://develop.svn.wordpress.org/trunk@12358 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:33:17 +00:00
Andrew Ozz
8e956b6488 Show the login form in a popup when autosave hits the login grace period, fixes #10704
git-svn-id: https://develop.svn.wordpress.org/trunk@12021 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-11 11:26:59 +00:00
Peter Westwood
4a65c047c5 Fix notice when adding tag from the Post Tags page. Fixes #10808 props prettyboymp.
git-svn-id: https://develop.svn.wordpress.org/trunk@11951 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-18 21:06:23 +00:00
Ryan Boren
43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren
bb81b561bd Filter the cookie scheme in auth_redirect(). Props nbachiyski. fixes #10740
git-svn-id: https://develop.svn.wordpress.org/trunk@11905 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 15:25:29 +00:00
Andrew Ozz
245d113bfc "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11741 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-24 07:23:11 +00:00
Andrew Ozz
8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Peter Westwood
e5dd9ecd88 Introduce _deep_replace() and use it to improve the stripping of percent encoded values from urls. Fixes #10226 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11615 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 17:42:24 +00:00
Mark Jaquith
316e5626c6 Create wp_validate_redirect(), have the upgrade done link use it. props Westi. fixes #10193 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11610 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 19:30:17 +00:00
Andrew Ozz
e6d33b952a Add more translator comments for placeholders, props nbachiyski, fixes #10002
git-svn-id: https://develop.svn.wordpress.org/trunk@11506 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-02 07:21:42 +00:00
Ryan Boren
8abf3d95f6 Add comment_moderation_headers filter. Props mtdewvirus. fixes #9969
git-svn-id: https://develop.svn.wordpress.org/trunk@11489 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 20:00:06 +00:00
Ryan Boren
e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Ryan Boren
c06ab49bcf Don't notify post author of own comments. PrProps josephscott. fixes #8695
git-svn-id: https://develop.svn.wordpress.org/trunk@11387 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 18:36:04 +00:00
Mark Jaquith
c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Mark Jaquith
4569581d73 Exclamation mark is a valid and safe character in a URI. props hakre. fixes #8904
git-svn-id: https://develop.svn.wordpress.org/trunk@11147 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 23:52:32 +00:00
Peter Westwood
9aa1b4c9f9 Fix wp_mails handling of custom boundaries. Fixes #5204 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@11136 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 07:25:47 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren
563583c87b Don't notify post author of own comments. Props Denis-de-Bernardy. fixes #8695
git-svn-id: https://develop.svn.wordpress.org/trunk@11057 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 20:55:04 +00:00
Ryan Boren
eef3fe8028 Wrap get_user_by() in function_exists check. Props alexrabe. fixes #9617
git-svn-id: https://develop.svn.wordpress.org/trunk@11033 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 20:27:22 +00:00
Ryan Boren
fcb4384381 Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: https://develop.svn.wordpress.org/trunk@10992 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 21:25:11 +00:00
Ryan Boren
f4f1dd5a05 Fix headers array processing for wp_mail(). Props gortsleigh. fixes #9284
git-svn-id: https://develop.svn.wordpress.org/trunk@10967 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 00:06:18 +00:00
Ryan Boren
2eae08c088 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: https://develop.svn.wordpress.org/trunk@10931 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 18:31:49 +00:00
Ryan Boren
85aa38df9b Make random_seed a transient
git-svn-id: https://develop.svn.wordpress.org/trunk@10838 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 20:03:57 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren
1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Ryan Boren
76a0466145 Add auth_cookie_expiration filter
git-svn-id: https://develop.svn.wordpress.org/trunk@10691 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-03 22:51:55 +00:00
Ryan Boren
0a4022978b Add auth_redirect action
git-svn-id: https://develop.svn.wordpress.org/trunk@10685 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 23:42:28 +00:00
Andrew Ozz
bac97149c1 Fix typo, props sambauers
git-svn-id: https://develop.svn.wordpress.org/trunk@10678 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 00:28:52 +00:00
Ryan Boren
54b8501261 Don't trigger wp_login_failed action for empty usernames or passwords.
git-svn-id: https://develop.svn.wordpress.org/trunk@10638 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 17:33:02 +00:00
Ryan Boren
854a8d6341 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:35:16 +00:00
Peter Westwood
ab26eb60bc If we have to generate people salts then make them 64 chars long. Fixes #8647 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10577 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 16:21:28 +00:00
Peter Westwood
fbee65f20e Add documentation to detail reasoning for default from address. See #5007 props pishmishy
git-svn-id: https://develop.svn.wordpress.org/trunk@10575 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 13:31:43 +00:00
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