Commit Graph

96 Commits

Author SHA1 Message Date
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