Commit Graph

214 Commits

Author SHA1 Message Date
Peter Westwood
802a3de43b Allow you to click on the colours or label to select a colour scheme. Fixes #6198 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@7291 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 16:51:39 +00:00
Peter Westwood
b3c9154a13 IE fixes for the stylesheet selector. Fixes #6200 props hansengel.
git-svn-id: https://develop.svn.wordpress.org/trunk@7273 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-13 19:17:57 +00:00
Ryan Boren
32e414dbf4 Image fixes from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7263 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 08:10:00 +00:00
Ryan Boren
40caffb433 Color scheme switcher styling from mt. fixes #6178
git-svn-id: https://develop.svn.wordpress.org/trunk@7259 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 02:35:22 +00:00
Ryan Boren
aa0482eeb8 user edit form validation fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@7254 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 22:03:05 +00:00
Ryan Boren
c9a9b9373a Admin color selector. see #6167
git-svn-id: https://develop.svn.wordpress.org/trunk@7249 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 21:06:03 +00:00
Ryan Boren
8f4a3a7687 gettext
git-svn-id: https://develop.svn.wordpress.org/trunk@7246 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 19:36:46 +00:00
Peter Westwood
498f3a60c8 Validation and Translation fixes for the Profile page. Fixes #6152 and #6153 props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@7235 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 08:54:08 +00:00
Ryan Boren
cb5dcfe1e1 Styling update for user edit form. Props mt. fixes #6140
git-svn-id: https://develop.svn.wordpress.org/trunk@7214 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 22:09:26 +00:00
Ryan Boren
afc003cd20 Update deprecated attributes. Props hansengel. fixes #6037
git-svn-id: https://develop.svn.wordpress.org/trunk@7104 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 17:09:44 +00:00
Ryan Boren
733701303b Remove role context. Props nbachiyski. fixes #5966
git-svn-id: https://develop.svn.wordpress.org/trunk@6991 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-23 04:10:04 +00:00
Ryan Boren
ea73b4aa17 Remove raquo from buttons. Props filosofo. fixes #5938
git-svn-id: https://develop.svn.wordpress.org/trunk@6943 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 19:30:55 +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
479e81224b Fix profile submenu highlight. Make is_profile_page a constant so that register globals can't manipulate it. see #5736
git-svn-id: https://develop.svn.wordpress.org/trunk@6700 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-31 22:03:48 +00:00
Ryan Boren
d8b614bfc7 Merge user-edit.php and profile.php. Props nbachiyski. fixes #5736
git-svn-id: https://develop.svn.wordpress.org/trunk@6697 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-31 21:44:17 +00:00
Ryan Boren
1edf3683ff Eliminate dupes from display name list. Props nbachiyski. see #5508
git-svn-id: https://develop.svn.wordpress.org/trunk@6652 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 01:33:28 +00:00
Mark Jaquith
c342666830 use clean_url(). Nice catch, g30rg3x. see #4333 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5588 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:35:23 +00:00
rob1n
00cabf391f Fix Back to Authors and Users link. fixes #4102
git-svn-id: https://develop.svn.wordpress.org/trunk@5198 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:09:02 +00:00
Ryan Boren
b6667dbbb3 Add rich editing checkbox to user-edit so that the setting isn't stomped. Props kipit. fixes #4036
git-svn-id: https://develop.svn.wordpress.org/trunk@5125 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-28 16:10:48 +00:00
Mark Jaquith
d8336eed5c use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren
6e5ddf34a0 Markup fix from quinnhigurashi. fixes #3602
git-svn-id: https://develop.svn.wordpress.org/trunk@4758 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-17 03:26:11 +00:00
Mark Jaquith
31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren
e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren
7e226f1a94 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4480 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 07:31:29 +00:00
Matt Mullenweg
6af3bdbb32 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: https://develop.svn.wordpress.org/trunk@4478 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 06:09:48 +00:00
Mark Jaquith
e2fb86e7bc Restore 2x missing <br />. Props Nazgul and Xmion. fixes #3221
git-svn-id: https://develop.svn.wordpress.org/trunk@4447 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-04 05:23:12 +00:00
Ryan Boren
e7ae06f71f Don't show user form without privs. Props westi. fixes #3142
git-svn-id: https://develop.svn.wordpress.org/trunk@4216 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-24 10:08:58 +00:00
Ryan Boren
4a9ad00205 Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 22:33:16 +00:00
Ryan Boren
0474f077f0 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: https://develop.svn.wordpress.org/trunk@3946 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-03 19:03:37 +00:00
Ryan Boren
23e2a0a25f Use wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +00:00
Ryan Boren
1053ca7014 Better handling of users with no role. Props Mark Jaquith. #2809
git-svn-id: https://develop.svn.wordpress.org/trunk@3859 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-10 20:26:26 +00:00
Ryan Boren
a4c408af37 User management improvements from Mark Jaquith and David House. #2793
git-svn-id: https://develop.svn.wordpress.org/trunk@3857 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 18:36:05 +00:00
Ryan Boren
f7e56ee9b3 Add more fine grained user management caps. Part 1. #2775
git-svn-id: https://develop.svn.wordpress.org/trunk@3846 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-05 16:52:21 +00:00
Ryan Boren
2d8cde3b47 Edit profile nonce fix from markjaquith. fixes #2776
git-svn-id: https://develop.svn.wordpress.org/trunk@3839 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-04 03:41:33 +00:00
Ryan Boren
6f1d273fc9 Update nonce action strings. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3804 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 23:08:05 +00:00
Ryan Boren
7a2c1664ee A couple more nonces. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3760 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-04 09:20:44 +00:00
Ryan Boren
6f355ce778 Get all error messages with get_error_messages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3679 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:48:14 +00:00
Ryan Boren
b3206083c3 AJAXify user addition. Props mdawaffe. fixes #2624
git-svn-id: https://develop.svn.wordpress.org/trunk@3677 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:31:26 +00:00
Ryan Boren
fb8e324e43 Check admin referer.
git-svn-id: https://develop.svn.wordpress.org/trunk@3615 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-05 22:45:44 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
0e5c4ea5b6 Role fixup from David House. fixes #2024
git-svn-id: https://develop.svn.wordpress.org/trunk@3266 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:11:55 +00:00
Ryan Boren
62f1fd972b Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: https://develop.svn.wordpress.org/trunk@3102 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:54:23 +00:00
Ryan Boren
c244bfd360 Show Role in profile and user edit. Don't allow users with edit_users caps to demote themselves. Props: davidhouse, ringmaster. fixes #1825
git-svn-id: https://develop.svn.wordpress.org/trunk@2995 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:58:52 +00:00
Ryan Boren
d218eb9fb6 Link love. Add get_link(), get_link_to_edit(), add_link(), edit_link(), wp_insert_link(), wp_update_link(), wp_delete_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@2889 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-18 19:44:14 +00:00
Ryan Boren
8baae0c89e User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: https://develop.svn.wordpress.org/trunk@2872 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:03:02 +00:00
Matt Mullenweg
7c4907713c Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
git-svn-id: https://develop.svn.wordpress.org/trunk@2762 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-08 01:13:22 +00:00
Ryan Boren
d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Matt Mullenweg
810e0018f4 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Ryan Boren
80f1695619 Straighten out user_id/user_ID conflict. Don't make user_id global in get_currentuserinfo() because it stomps on the local user_id in user-edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@2644 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:27:30 +00:00
Matt Mullenweg
f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Matt Mullenweg
47d80615b5 More user updates
git-svn-id: https://develop.svn.wordpress.org/trunk@2632 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:14:52 +00:00
Ryan Boren
57fe641ff1 Don't throw 'typed only once' error when both password entries are blank. http://mosquito.wordpress.org/view.php?id=1178
git-svn-id: https://develop.svn.wordpress.org/trunk@2489 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 14:48:49 +00:00
Ryan Boren
af3b90cc1e Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: https://develop.svn.wordpress.org/trunk@2437 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 17:06:18 +00:00
Matt Mullenweg
f8035ec6b4 Allowing more hooks into authentication - Hat tip: http://dev.webadmin.ufl.edu/~dwc/2005/03/02/authentication-plugins/
git-svn-id: https://develop.svn.wordpress.org/trunk@2425 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 22:49:42 +00:00
Ryan Boren
d6bf9eeaea Fix menu highlighting for Users. Patch from MooKitty. Bug 577.
git-svn-id: https://develop.svn.wordpress.org/trunk@1998 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 20:55:36 +00:00
Matt Mullenweg
a3daa0be76 Change dateYMDhour to be something more sane, bugfix on edit.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@1971 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 19:27:35 +00:00
Matt Mullenweg
953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Ryan Boren
51602443ca Rationalize menu access levels. Submenus should have an access level greater than or equal to its parent. Require level 8 for all file editing pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1924 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 22:32:49 +00:00
Matt Mullenweg
d9f15fdcfc Get number of posts correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@1907 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-01 16:12:53 +00:00
Ryan Boren
94d704f573 Save user profile. Bug 413.
git-svn-id: https://develop.svn.wordpress.org/trunk@1838 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-29 01:17:17 +00:00
Ryan Boren
ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Ryan Boren
0db54c74a2 Use user ID for author permalink if sanitize_title returns an empty string. Bug 0000116.
git-svn-id: https://develop.svn.wordpress.org/trunk@1520 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 20:38:19 +00:00
Ryan Boren
851ff5f787 Define add_magic_quotes() in user-edit.php. Bug 0000216.
git-svn-id: https://develop.svn.wordpress.org/trunk@1515 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 05:01:13 +00:00
Matt Mullenweg
e89a09ae39 Added ability to edit other users.
git-svn-id: https://develop.svn.wordpress.org/trunk@1507 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-01 09:13:50 +00:00