Commit Graph

151 Commits

Author SHA1 Message Date
Peter Westwood
5e588b4ab4 Allow users to cancel email address changes. Fixes #13457 props mtdewvirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@14802 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 07:53:59 +00:00
Ryan Boren
57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin
2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Andrew Nacin
01369d744f Some default password nag and user-edit div.error style cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@14261 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 21:57:18 +00:00
Ryan Boren
8d9073103c Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: https://develop.svn.wordpress.org/trunk@14206 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 20:34:03 +00:00
Nikolay Bachiyski
cb1baf850f Focus on the password field if the user has come from the default password nag
git-svn-id: https://develop.svn.wordpress.org/trunk@14171 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-20 17:16:14 +00:00
Andrew Nacin
ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Andrew Nacin
25a910c025 Add actions to the form tags of user-new, user-edit, and post edit. props sivel, fixes #11933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14106 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:57:57 +00:00
Andrew Nacin
acb76fe42d More grant/revoke super admin improvements. fixes #12933.
git-svn-id: https://develop.svn.wordpress.org/trunk@14043 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-09 08:26:16 +00:00
Ron Rennick
1bbf9dd065 more manage_network_* caps, see #12109
git-svn-id: https://develop.svn.wordpress.org/trunk@14003 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 02:59:10 +00:00
Andrew Nacin
db6a40aa27 Move add/remove super admin out of bulk edit and into user-edit.php. Introduce grant_super_admin() and revoke_super_admin(). Link to profile.php in ms-users user row for current user. Add defensive check by forcing IS_PROFILE_PAGE on user-edit if trying to edit your own user_id. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13941 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:46:07 +00:00
Andrew Nacin
a258c8ec2b Use a generic string instead of "Your username" in user-edit.php to account for non-profile edits. props caesarsgrunt, fixes #11353
git-svn-id: https://develop.svn.wordpress.org/trunk@13820 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 13:56:10 +00:00
Andrew Nacin
087a27bc52 Fix logic inversion in [13568]. props dd32. see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13570 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:34:20 +00:00
Andrew Nacin
4ee4545c85 Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13568 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:04:25 +00:00
Andrew Nacin
593cd94b1f Dynamically remove duplicates from the 'display name' profile.php option. fixes #10030
git-svn-id: https://develop.svn.wordpress.org/trunk@13539 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 22:34:43 +00:00
Dion Hulse
f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Andrew Nacin
670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Andrew Nacin
7c3ab9dca1 Fix nesting of an if statement. Show keyboard shortcuts option even when admin colors are disabled. Props pampfelimetten, fixes #12294
git-svn-id: https://develop.svn.wordpress.org/trunk@13236 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 22:02:43 +00:00
Andrew Nacin
d43ba9114b Don't use deprecated functions. see #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Ryan Boren
10dd8c858f Integrate update_profile_email() into user-edit.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12928 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:00:45 +00:00
Ryan Boren
7acbca8e8e Move update_signup_email_from_profile() logic into user-edit.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12842 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:51:50 +00:00
Ryan Boren
2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren
e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +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
Ron Rennick
c1f8977b95 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12722 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 02:02:19 +00:00
Andrew Ozz
060d9185e6 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +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
b7f82a38b5 Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: https://develop.svn.wordpress.org/trunk@11929 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 13:57:48 +00:00
Andrew Ozz
deadcef66e Remove old query args when updating user profile, props dd32, fixes #9038
git-svn-id: https://develop.svn.wordpress.org/trunk@11830 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 07:43:37 +00:00
Peter Westwood
10360549ba Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11784 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 21:59:52 +00:00
Andrew Ozz
006d1299c7 CSS fix for vertical misalignment in user-edit.php, props demetris, fixes #10036
git-svn-id: https://develop.svn.wordpress.org/trunk@11526 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 10:01:04 +00:00
Andrew Ozz
65a1d7d9e3 Fix vertical misalignment in user-edit.php, fixes #10036
git-svn-id: https://develop.svn.wordpress.org/trunk@11522 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 03:15:13 +00:00
Ryan Boren
6bd92fd3df Fix notice. Props wnorris. fixes #8433
git-svn-id: https://develop.svn.wordpress.org/trunk@11477 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-28 20:35:09 +00:00
Peter Westwood
74aa0fea30 Hide options from users when they don't make any sense for them. Fixes #8433 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11447 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 18:46:01 +00:00
Mark Jaquith
ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Andrew Ozz
f4c925859a Clean up user-edit.php, add password strength meter to Add User and Edit User
git-svn-id: https://develop.svn.wordpress.org/trunk@11359 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 06:29:10 +00:00
Andrew Ozz
ecc46022b2 Don't display empty values in the user display name drop-down, props Simek, fix js to add newly entered First Name and Last Name, fixes #9813
git-svn-id: https://develop.svn.wordpress.org/trunk@11330 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 17:01:04 +00:00
Mark Jaquith
a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00
Ryan Boren
74573d082f Pass user to actions. Props sirzooro. fixes #9795
git-svn-id: https://develop.svn.wordpress.org/trunk@11302 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 16:54:18 +00:00
Ryan Boren
9a1ebaa73b Fix hiding off offscreen legends in Firefox. Props Denis-de-Bernardy. fixes #9783
git-svn-id: https://develop.svn.wordpress.org/trunk@11283 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 22:11:13 +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
Ryan Boren
4a047f4240 Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 21:28:58 +00:00
Peter Westwood
4c01def10f Add a nag message if the user is still using an auto-generated password. See #9710 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11162 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 17:06:29 +00:00
Ryan Boren
3b7130bbae attr escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11110 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 06:37:51 +00:00
Mark Jaquith
9eff22d723 Dynamically update display name as its components are updated in the profile. props to mattwalters for the original patch. fixes #8508
git-svn-id: https://develop.svn.wordpress.org/trunk@11065 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 05:55:26 +00:00
Andrew Ozz
f9007b9ac8 Add "code" class to more URL input fields, props johnbillion, fixes #8383
git-svn-id: https://develop.svn.wordpress.org/trunk@10995 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-18 06:47:56 +00:00
Ryan Boren
41b24b77f3 Move link outside label. Props nightgunner5, Nicholas91. fixes #7983
git-svn-id: https://develop.svn.wordpress.org/trunk@10935 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 17:04:48 +00:00
Andrew Ozz
c603afc1f0 Filters for IM names in user profile, props Txanny, fixes #9357
git-svn-id: https://develop.svn.wordpress.org/trunk@10819 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-19 09:16:26 +00:00