Commit Graph

142 Commits

Author SHA1 Message Date
nacin bf77b5c189 More grant/revoke super admin improvements. fixes #12933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-09 08:26:16 +00:00
wpmuguru e439ce17bd more manage_network_* caps, see #12109
git-svn-id: http://svn.automattic.com/wordpress/trunk@14003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 02:59:10 +00:00
nacin 7b55c4688a 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: http://svn.automattic.com/wordpress/trunk@13941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:46:07 +00:00
nacin eb709ded05 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: http://svn.automattic.com/wordpress/trunk@13820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 13:56:10 +00:00
nacin 25965cf001 Fix logic inversion in [13568]. props dd32. see #12381
git-svn-id: http://svn.automattic.com/wordpress/trunk@13570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:34:20 +00:00
nacin 8b87777391 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: http://svn.automattic.com/wordpress/trunk@13568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:04:25 +00:00
nacin 30b82141f9 Dynamically remove duplicates from the 'display name' profile.php option. fixes #10030
git-svn-id: http://svn.automattic.com/wordpress/trunk@13539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 22:34:43 +00:00
dd32 b1621c63ae 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: http://svn.automattic.com/wordpress/trunk@13487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 06:34:31 +00:00
nacin 2ce7dc4dac Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
nacin c97d7d3884 Fix nesting of an if statement. Show keyboard shortcuts option even when admin colors are disabled. Props pampfelimetten, fixes #12294
git-svn-id: http://svn.automattic.com/wordpress/trunk@13236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 22:02:43 +00:00
nacin b4f362264e Don't use deprecated functions. see #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:35:10 +00:00
ryan 8caab555bd Integrate update_profile_email() into user-edit.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 18:00:45 +00:00
ryan 389093009f Move update_signup_email_from_profile() logic into user-edit.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:51:50 +00:00
ryan 94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan 8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
ryan 6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
wpmuguru 9d2762f279 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 02:02:19 +00:00
azaozz 4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
ryan 8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan aa1e377ede Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: http://svn.automattic.com/wordpress/trunk@11929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 13:57:48 +00:00
azaozz eb921e186d Remove old query args when updating user profile, props dd32, fixes #9038
git-svn-id: http://svn.automattic.com/wordpress/trunk@11830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 07:43:37 +00:00
westi 8aa2598b6a Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 21:59:52 +00:00
azaozz 52e86803d1 CSS fix for vertical misalignment in user-edit.php, props demetris, fixes #10036
git-svn-id: http://svn.automattic.com/wordpress/trunk@11526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 10:01:04 +00:00
azaozz fe69958bb6 Fix vertical misalignment in user-edit.php, fixes #10036
git-svn-id: http://svn.automattic.com/wordpress/trunk@11522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 03:15:13 +00:00
ryan 00f547cbe0 Fix notice. Props wnorris. fixes #8433
git-svn-id: http://svn.automattic.com/wordpress/trunk@11477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-28 20:35:09 +00:00
westi 8a6eacda08 Hide options from users when they don't make any sense for them. Fixes #8433 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 18:46:01 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
azaozz d271668438 Clean up user-edit.php, add password strength meter to Add User and Edit User
git-svn-id: http://svn.automattic.com/wordpress/trunk@11359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 06:29:10 +00:00
azaozz fc488172cc 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: http://svn.automattic.com/wordpress/trunk@11330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 17:01:04 +00:00
markjaquith bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
ryan def8fb6cd2 Pass user to actions. Props sirzooro. fixes #9795
git-svn-id: http://svn.automattic.com/wordpress/trunk@11302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 16:54:18 +00:00
ryan 6f81ec436c Fix hiding off offscreen legends in Firefox. Props Denis-de-Bernardy. fixes #9783
git-svn-id: http://svn.automattic.com/wordpress/trunk@11283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 22:11:13 +00:00
markjaquith 6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
westi 614244af2b Add a nag message if the user is still using an auto-generated password. See #9710 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 17:06:29 +00:00
ryan 9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +00:00
markjaquith e0726162ec Dynamically update display name as its components are updated in the profile. props to mattwalters for the original patch. fixes #8508
git-svn-id: http://svn.automattic.com/wordpress/trunk@11065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 05:55:26 +00:00
azaozz 67d841770a Add "code" class to more URL input fields, props johnbillion, fixes #8383
git-svn-id: http://svn.automattic.com/wordpress/trunk@10995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-18 06:47:56 +00:00
ryan 4478013975 Move link outside label. Props nightgunner5, Nicholas91. fixes #7983
git-svn-id: http://svn.automattic.com/wordpress/trunk@10935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 17:04:48 +00:00
azaozz 015c9e542e Filters for IM names in user profile, props Txanny, fixes #9357
git-svn-id: http://svn.automattic.com/wordpress/trunk@10819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-19 09:16:26 +00:00
westi eb5a33864e Allow a plugin to hide the extra capabilities listing on profiles. Fixes #9024 props jamescollins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 08:02:07 +00:00
ryan 67bf900a02 Fix notice. Props jeremyclarke. see #8764
git-svn-id: http://svn.automattic.com/wordpress/trunk@10324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 22:05:57 +00:00
ryan 0277488230 use wp_dropdown_roles(). Props jeremyclarke. fixes #8764
git-svn-id: http://svn.automattic.com/wordpress/trunk@10319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 17:23:11 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
westi 8b192860f2 Fight back against browser autocomplete some more. Fixes #8462 props Ozh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:47:58 +00:00
azaozz 7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
ryan cf333304bb Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:59:57 +00:00
ryan 2fdde1e736 Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 03:22:24 +00:00
westi 416ee57673 Move inline styles to the stylesheets. Fixes #7985 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 22:07:39 +00:00