Commit Graph

66 Commits

Author SHA1 Message Date
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +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
Peter Westwood 86233c4dbd Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12989 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 12:35:15 +00:00
Dion Hulse 8fbe3333b0 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: https://develop.svn.wordpress.org/trunk@12983 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:20:38 +00:00
Ryan Boren aceedd977d Introduce clean_user_cache(). fixes #11761
git-svn-id: https://develop.svn.wordpress.org/trunk@12766 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:23:11 +00:00
Ryan Boren ee5efb4187 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ron Rennick 542f2132ab merge multisite wp-admin/includes except schema, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12726 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 00:21:13 +00:00
Ryan Boren 7b580bf8e8 Use update and insert. Props DD32. fixes #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:13:54 +00:00
Matt Mullenweg 2101888ec0 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: https://develop.svn.wordpress.org/trunk@12341 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 19:59:34 +00:00
Peter Westwood 78efafba1d Fix user creation from admin after changes for #10751. Fixes #10811 props alexkingorg.
git-svn-id: https://develop.svn.wordpress.org/trunk@11950 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-18 20:47:24 +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
Peter Westwood 50bb241850 Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: https://develop.svn.wordpress.org/trunk@11852 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 19:51:43 +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
Ryan Boren bffd0d6549 Return empty array instead of false from get_editable_user_ids. Props Denis-de-Bernardy, pairg. fixes #10119 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11571 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 17:48:42 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Peter Westwood bd9784b05e Pass references and more context to the new 'user_profile_update_errors' hook. Fixes #9302.
git-svn-id: https://develop.svn.wordpress.org/trunk@11441 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-23 21:37:49 +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
Ryan Boren c662eed706 Don't set user's url to http://. Props josephscott. fixes #9804
git-svn-id: https://develop.svn.wordpress.org/trunk@11320 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:41:05 +00:00
Ryan Boren d93e16b6cb Add option to send password to users created from admin. Props Denis-de-Bernardy. fixes #9669
git-svn-id: https://develop.svn.wordpress.org/trunk@11319 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:35:17 +00:00
Ryan Boren bbf835ab0c Allow quotes in passwords. fixes #8866
git-svn-id: https://develop.svn.wordpress.org/trunk@11292 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 05:21:32 +00:00
Ryan Boren 7b393909ef Update password nage text. Props Denis-de-Bernardy. fixes #9710
git-svn-id: https://develop.svn.wordpress.org/trunk@11266 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 17:34:24 +00:00
Ryan Boren c07f397c04 Default password nag fixes. Props DD32. fixes #9710
git-svn-id: https://develop.svn.wordpress.org/trunk@11217 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 16:19:40 +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
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +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 fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Andrew Ozz 5ede340f80 Add hook for update profile, props Cimmo, fixes #9302
git-svn-id: https://develop.svn.wordpress.org/trunk@11096 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 11:18:04 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren fcb4384381 Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: https://develop.svn.wordpress.org/trunk@10992 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 21:25:11 +00:00
Ryan Boren aacf7f3f4d Enforce unique email addresses. Props Denis-de-Bernardy. fixes #9563
git-svn-id: https://develop.svn.wordpress.org/trunk@10990 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 18:43:40 +00:00
Ryan Boren 23d6f231f9 Use API to delete links when deleting a user. Props TimButterfield, scohoust. fixes #7774
git-svn-id: https://develop.svn.wordpress.org/trunk@10975 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 02:13:00 +00:00
Ryan Boren 31cffc81e7 Add deleted_user action. Props Denis-de-Bernardy. see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10894 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 19:01:10 +00:00
Ryan Boren c3d0a6fe71 Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10851 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-31 19:16:53 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren aed84abf2e Create user object. Props mark8barnes. fixes #9309 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10760 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 18:37:53 +00:00
Ryan Boren 346ad48bb8 Add get_editable_roles() and role filtering. Props jeremyclarke. fixes #8770
git-svn-id: https://develop.svn.wordpress.org/trunk@10323 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 22:00:05 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 455462be39 Handle both post and page caps in get_editable_user_id(). Props DD32. fixes #8208
git-svn-id: https://develop.svn.wordpress.org/trunk@9683 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 17:13:08 +00:00
Ryan Boren a44339268a i18n fixes from nbachiyski. fixes #8142
git-svn-id: https://develop.svn.wordpress.org/trunk@9589 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 17:42:51 +00:00
Andrew Ozz 2f0df43916 Use ndash for number range, props demetris, fixes #8088
git-svn-id: https://develop.svn.wordpress.org/trunk@9565 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-08 02:39:18 +00:00
Andrew Ozz c127129c26 Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083
git-svn-id: https://develop.svn.wordpress.org/trunk@9556 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 21:56:29 +00:00
Ryan Boren 2601e590b2 Add opt-in optioon for comment hotkeys. Props nbachiyski. fixes #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@9217 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 22:23:32 +00:00
Mark Jaquith 9a41b69f98 Turn the Visual Editor user preference on its head, to more accurately reflect what it does now. fixes #6403. props MattyRob.
git-svn-id: https://develop.svn.wordpress.org/trunk@9072 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 22:01:33 +00:00
Ryan Boren f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Peter Westwood 8e25586a4e Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8944 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-21 20:41:25 +00:00
Ryan Boren c7cd726bf1 Option to force SSL. see #7561
git-svn-id: https://develop.svn.wordpress.org/trunk@8701 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 17:40:38 +00:00
Ryan Boren 197fc1d118 Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8646 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 17:00:37 +00:00
Peter Westwood 69c7119827 Remove extra } from query. Fixes #7416 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8467 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-27 08:40:29 +00:00
Ryan Boren 2323aba55f Fix users.php paging. Props DD32. fixes #4017
git-svn-id: https://develop.svn.wordpress.org/trunk@8195 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 17:02:17 +00:00