Commit Graph

206 Commits

Author SHA1 Message Date
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
westi
d28c67315a Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 19:51:43 +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
ryan
fc67a8145e Return empty array instead of false from get_editable_user_ids. Props Denis-de-Bernardy, pairg. fixes #10119 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 17:48:42 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
westi
da5d1d8d15 Pass references and more context to the new 'user_profile_update_errors' hook. Fixes #9302.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 21:37:49 +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
ryan
1a09fcc6ba Don't set user's url to http://. Props josephscott. fixes #9804
git-svn-id: http://svn.automattic.com/wordpress/trunk@11320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:41:05 +00:00
ryan
8457db3774 Add option to send password to users created from admin. Props Denis-de-Bernardy. fixes #9669
git-svn-id: http://svn.automattic.com/wordpress/trunk@11319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:35:17 +00:00
ryan
d7cfd506a4 Allow quotes in passwords. fixes #8866
git-svn-id: http://svn.automattic.com/wordpress/trunk@11292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 05:21:32 +00:00
ryan
4b413f9e33 Update password nage text. Props Denis-de-Bernardy. fixes #9710
git-svn-id: http://svn.automattic.com/wordpress/trunk@11266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:34:24 +00:00
ryan
185d659b85 Default password nag fixes. Props DD32. fixes #9710
git-svn-id: http://svn.automattic.com/wordpress/trunk@11217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 16:19:40 +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
azaozz
83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +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
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
azaozz
71086625a6 Add hook for update profile, props Cimmo, fixes #9302
git-svn-id: http://svn.automattic.com/wordpress/trunk@11096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 11:18:04 +00:00
ryan
a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan
4956e5d453 Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: http://svn.automattic.com/wordpress/trunk@10992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 21:25:11 +00:00
ryan
05666ec7bc Enforce unique email addresses. Props Denis-de-Bernardy. fixes #9563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 18:43:40 +00:00
ryan
29d4257fbd Use API to delete links when deleting a user. Props TimButterfield, scohoust. fixes #7774
git-svn-id: http://svn.automattic.com/wordpress/trunk@10975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 02:13:00 +00:00
ryan
f17cf80acd Add deleted_user action. Props Denis-de-Bernardy. see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 19:01:10 +00:00
ryan
f84839d5af Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-31 19:16:53 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
dd98e4f40f Create user object. Props mark8barnes. fixes #9309 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:37:53 +00:00
ryan
cb38e921dc Add get_editable_roles() and role filtering. Props jeremyclarke. fixes #8770
git-svn-id: http://svn.automattic.com/wordpress/trunk@10323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 22:00:05 +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
ryan
ab2ac7f427 Handle both post and page caps in get_editable_user_id(). Props DD32. fixes #8208
git-svn-id: http://svn.automattic.com/wordpress/trunk@9683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 17:13:08 +00:00
ryan
d699f0d00d i18n fixes from nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:42:51 +00:00
azaozz
ce2413cb7f Use ndash for number range, props demetris, fixes #8088
git-svn-id: http://svn.automattic.com/wordpress/trunk@9565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 02:39:18 +00:00
azaozz
4a5e7ba2e4 Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083
git-svn-id: http://svn.automattic.com/wordpress/trunk@9556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 21:56:29 +00:00
ryan
ae2c4bc50c Add opt-in optioon for comment hotkeys. Props nbachiyski. fixes #7643
git-svn-id: http://svn.automattic.com/wordpress/trunk@9217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 22:23:32 +00:00
markjaquith
6666636cbd Turn the Visual Editor user preference on its head, to more accurately reflect what it does now. fixes #6403. props MattyRob.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 22:01:33 +00:00
ryan
5fd146865b phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
westi
95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
ryan
203086a4de Option to force SSL. see #7561
git-svn-id: http://svn.automattic.com/wordpress/trunk@8701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 17:40:38 +00:00
ryan
113c014920 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
westi
1a98124b2c Remove extra } from query. Fixes #7416 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-27 08:40:29 +00:00
ryan
3f24ac2605 Fix users.php paging. Props DD32. fixes #4017
git-svn-id: http://svn.automattic.com/wordpress/trunk@8195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-25 17:02:17 +00:00
ryan
248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
matt
8734e3d1bf So fresh and so clean, clean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-15 17:02:16 +00:00
ryan
f0479dbc17 Admin color selector. see #6167
git-svn-id: http://svn.automattic.com/wordpress/trunk@7249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:06:03 +00:00
ryan
04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
53c157426b Back to 50 per page
git-svn-id: http://svn.automattic.com/wordpress/trunk@6887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-17 20:24:43 +00:00
ryan
20e180de64 Remove pseudo role group by
git-svn-id: http://svn.automattic.com/wordpress/trunk@6886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-17 20:16:22 +00:00
ryan
22195eeaed users.php redesign. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 21:44:50 +00:00
ryan
b7b689e35f Move WP_User_Search to admin includes. Props Viper007Bond. fixes #5111
git-svn-id: http://svn.automattic.com/wordpress/trunk@6615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 21:55:17 +00:00
ryan
dab1c792c7 Remove unused variables. Props DD32. fixes #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:29:05 +00:00
ryan
43b7cd700f get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: http://svn.automattic.com/wordpress/trunk@6346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-27 22:14:53 +00:00
ryan
f831731601 JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 06:23:16 +00:00
markjaquith
6aa8345250 Some error message normalization from Viper007Bond and DD32. fixes #5139
git-svn-id: http://svn.automattic.com/wordpress/trunk@6188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-04 19:38:35 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
markjaquith
d50996b941 Order pending posts nag by post_modified ASC, drafts by post_modified DESC
git-svn-id: http://svn.automattic.com/wordpress/trunk@5750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-24 05:58:38 +00:00
markjaquith
7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00