Commit Graph

69 Commits

Author SHA1 Message Date
dd32
4a59fbc765 Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
git-svn-id: http://svn.automattic.com/wordpress/trunk@13488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 06:38:15 +00:00
wpmuguru
1c5f2af719 warnings cleanup edit user, props dd32, see #12387
git-svn-id: http://svn.automattic.com/wordpress/trunk@13463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:07:25 +00:00
ryan
9ab7306993 Remove author tags. fixes #12366
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
dd32
679250491d Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +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
westi
093b14a634 Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 12:35:15 +00:00
dd32
041c570da1 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: http://svn.automattic.com/wordpress/trunk@12983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 06:20:38 +00:00
ryan
57c4b79b91 Introduce clean_user_cache(). fixes #11761
git-svn-id: http://svn.automattic.com/wordpress/trunk@12766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:23:11 +00:00
ryan
e52de33dc2 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 23:34:36 +00:00
wpmuguru
2653342f43 merge multisite wp-admin/includes except schema, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 00:21:13 +00:00
ryan
0d31c12db6 Use update and insert. Props DD32. fixes #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:13:54 +00:00
matt
cff2ea75c7 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
westi
be1ff7ace1 Fix user creation from admin after changes for #10751. Fixes #10811 props alexkingorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-18 20:47:24 +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
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