Commit Graph

266 Commits

Author SHA1 Message Date
Ryan Boren a0ae9633d4 Fix handing of super admins that don't have a blog in get_dashboard_url() and login. Props nacin. fixes #17829
git-svn-id: https://develop.svn.wordpress.org/trunk@18328 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:45:28 +00:00
Daryl Koopersmith 832e86d2e1 Refresh login form styles to match admin style refresh. Props iammattthomas. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@18223 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 02:37:37 +00:00
Andrew Nacin e436332ba7 Move charset declaration to just inside <head>. props niallkennedy, fixes #17148.
git-svn-id: https://develop.svn.wordpress.org/trunk@18206 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 22:22:07 +00:00
Andrew Nacin 1d27654a9b Fix typo in docs.
git-svn-id: https://develop.svn.wordpress.org/trunk@17976 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-20 06:00:45 +00:00
Ryan Boren 0d2dfe033e s/login_form/login_init/. Props sorich87. fixes #17411
git-svn-id: https://develop.svn.wordpress.org/trunk@17918 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 18:33:20 +00:00
Ryan Boren 535ced5186 Send X-Frame-Options: SAMEORIGIN for admin and login pages. see #12293
git-svn-id: https://develop.svn.wordpress.org/trunk@17826 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 21:28:53 +00:00
Mark Jaquith 0cdc6d2e61 Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17465 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-18 05:10:58 +00:00
Ryan Boren 900cee7dc9 Use get_dashboard_url() to redirect to the active blog if the user doesn't have access to the current blog. fixes #16297
git-svn-id: https://develop.svn.wordpress.org/trunk@17367 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-26 16:35:04 +00:00
Ryan Boren e6ef3c9d5a Don't try to redirect to user admin for unpriv users unless a site admin redirect was requested. fixes #16297
git-svn-id: https://develop.svn.wordpress.org/trunk@17351 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:29:43 +00:00
Andrew Nacin 4ab2d68486 Correct user admin redirection checks, and deny access to the user admin when not running multisite. fixes #16297.
git-svn-id: https://develop.svn.wordpress.org/trunk@17332 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 03:04:20 +00:00
Ryan Boren 34ef8c8df9 Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Andrew Nacin 83d746d240 Add login_footer action to the default case, which doesn't use login_footer(). fixes #15880.
git-svn-id: https://develop.svn.wordpress.org/trunk@17043 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-18 17:53:29 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Andrew Nacin 3ce701f9f3 Don't clear saved username in wp_attempt_focus. props JohnPBloch, wojtek.szkutnik. fixes #14031.
git-svn-id: https://develop.svn.wordpress.org/trunk@16870 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 04:59:49 +00:00
Peter Westwood 7a3000079a Wrap the reset link in <> so as to protect it when it goes over multiple lines in an email client. Fixes #14140 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@16285 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:38:15 +00:00
Peter Westwood ea7bd69745 Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +00:00
Andrew Nacin e2dfe4f5c2 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Andrew Nacin 8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Dion Hulse 82443ce769 Use Absolute URL's & API's in header redirects in more locations. See #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16008 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:43:43 +00:00
Peter Westwood b4818a8af8 Remove the ghetto code and use the script loader properly on the login page.
Ensure that we actually have convertEntities available on the login page.
Introduce a login_footer action.
Hook in the script loader to the login_header and login_footer actions.
See #5919, #15124.

git-svn-id: https://develop.svn.wordpress.org/trunk@16000 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:57:10 +00:00
Andrew Nacin 04c90b318b Make a string accurate. props jane, see #5919.
git-svn-id: https://develop.svn.wordpress.org/trunk@15999 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:48:01 +00:00
Peter Westwood b138a1b60a Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919.
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
scribu e87af16398 first pass at strength indicator on password reset. see #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15782 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 21:37:01 +00:00
scribu 20f9e224d9 Revert part of [15780] included by accident. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15781 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:32:41 +00:00
scribu 33077f83fa move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15780 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:29:19 +00:00
scribu 2444ffe144 Improve password reset email copy. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15776 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 17:22:05 +00:00
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
scribu 5c6ec6cd85 Fix password reset procedure. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15735 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 19:02:43 +00:00
Ryan Boren 344af33b21 Streamline password reset process. Allow user to input new password. Props scribu. see #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15710 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 15:32:54 +00:00
Ryan Boren 24f53ef665 Remove login-header.png. Use CSS3 with fallback color. Login RTL fix. Props ocean90. fixes #13587
git-svn-id: https://develop.svn.wordpress.org/trunk@15090 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 15:54:00 +00:00
Dion Hulse cf29647f4a Reset position after shaking the login screen, Fixes IE6 hiding the Remember Me & Login buttons. Props ocean90. Fixes #13495
git-svn-id: https://develop.svn.wordpress.org/trunk@14817 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 11:06:44 +00:00
Dion Hulse 8bf25b8849 Correct the no-shake iphone check. See #13495
git-svn-id: https://develop.svn.wordpress.org/trunk@14809 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 00:26:13 +00:00
Peter Westwood cfc03c26e7 Shake not your iphone for an incorrect password. Fixes #13495
git-svn-id: https://develop.svn.wordpress.org/trunk@14806 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 21:31:14 +00:00
Peter Westwood 81b12ac87e Introduce __return_zero() and use it instead of create_function in the login header.
Also add version info to __return_true and __return_false.

git-svn-id: https://develop.svn.wordpress.org/trunk@14639 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:46:53 +00:00
Ryan Boren dd9c60ef64 Force reauth when auth_redirect() redirects to login. see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14556 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 13:44:40 +00:00
Ryan Boren 56e95f24c5 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: https://develop.svn.wordpress.org/trunk@14428 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:46:42 +00:00
Andrew Nacin 3be728e34b Keep 'remember me' checked when user/pass is incorrect. props xibe, fixes #13165.
git-svn-id: https://develop.svn.wordpress.org/trunk@14280 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 17:01:55 +00:00
Ryan Boren dc9cefd8a5 Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 21:45:31 +00:00
Dion Hulse b411580268 Set up the password nag for newly registered users. Fixes #12143
git-svn-id: https://develop.svn.wordpress.org/trunk@13490 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:15:15 +00:00
Andrew Nacin 58b59e038f Add redirect_to and associated filters to registration and password recovery. fixes #12282
git-svn-id: https://develop.svn.wordpress.org/trunk@13465 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:21:03 +00:00
Andrew Nacin e7fa18385a Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:21:47 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse 8fbe3333b0 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: https://develop.svn.wordpress.org/trunk@12983 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:20:38 +00:00
Dion Hulse 28637f0de3 Show login form upon email-sent for recover/reset passwords. Props nacin. Fixes #11141
git-svn-id: https://develop.svn.wordpress.org/trunk@12981 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 04:42:14 +00:00
Ryan Boren 0399d5c023 ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:57:32 +00:00
Ryan Boren 72adbb470e Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Mark Jaquith 46b0270ab7 Shake the JS weight away!
git-svn-id: https://develop.svn.wordpress.org/trunk@12817 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 06:16:17 +00:00