Commit Graph

80 Commits

Author SHA1 Message Date
Andrew Nacin
82ceeca5de After adding a user, take them back to users.php with an 'Edit user' link in the message.
This removes the (possibly ineffective) search from the redirect, as well as the URL hash that will get covered up by the toolbar.

fixes #19470. props merty and SergeyBiryukov for initial patches.



git-svn-id: https://develop.svn.wordpress.org/trunk@20631 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 23:13:39 +00:00
Andrew Nacin
48c5af2ac0 Clean up cap checks for autocompletes for sites and users in a network. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@20332 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 21:04:48 +00:00
Jon Cave
abfcb78ce7 Correct faulty logic when dealing with autocomplete_users_for_site_admins, and break logic into multiple lines. See #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@19934 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-16 17:12:10 +00:00
Mark Jaquith
54ab38d9ed Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@19897 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 08:45:17 +00:00
Ryan Boren
2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Jon Cave
61c6ba8b70 s/add_user()/edit_user()/, see r19686 and #18749.
git-svn-id: https://develop.svn.wordpress.org/trunk@19689 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:02:42 +00:00
Ryan Boren
257a55c9b7 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: https://develop.svn.wordpress.org/trunk@19676 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 20:02:11 +00:00
Ryan Boren
f6b0e7e580 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: https://develop.svn.wordpress.org/trunk@19674 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:29:03 +00:00
Ryan Boren
54067a5f20 Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-14 17:36:38 +00:00
Mark Jaquith
63462aca3a Fix a spelling error in user-new.php. props SergeyBiryukov. fixes #19518
git-svn-id: https://develop.svn.wordpress.org/trunk@19595 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-14 02:56:59 +00:00
Ryan Boren
676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Ryan Boren
6610e321e7 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19528 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:51:35 +00:00
Andrew Nacin
57da602f61 Help tweaks for users, tools. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19509 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:17:14 +00:00
Ryan Boren
68f667d23d Indent cleanup. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19438 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:08:02 +00:00
Ryan Boren
0ef41d992b Help tabs. Props Ipstenu. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19436 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:06:52 +00:00
Ryan Boren
581be15bb4 Used numbered format specifiers. Add translator note. Props SergeyBiryukov. fixes #19090
git-svn-id: https://develop.svn.wordpress.org/trunk@19255 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 18:37:04 +00:00
Andrew Nacin
33ee9a7d04 s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren
db63861af8 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Ryan Boren
4685bc4b99 Fix inviting existing users to a site with email confirmation. Props johnbillion. fixes #18295
git-svn-id: https://develop.svn.wordpress.org/trunk@18965 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 18:32:31 +00:00
Ryan Boren
3735347ba7 Grammar fix. Props SergeyBiryukov, johnbillion. fixes #18291
git-svn-id: https://develop.svn.wordpress.org/trunk@18487 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 21:36:45 +00:00
Andrew Nacin
fb2e53b23c Don't add extra spaces. props duck_, see #16861.
git-svn-id: https://develop.svn.wordpress.org/trunk@18250 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:30:54 +00:00
Andrew Nacin
5f4f14cae4 Translate a missing string. props ldebrouwer, fixes #16861.
git-svn-id: https://develop.svn.wordpress.org/trunk@18249 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:28:02 +00:00
Andrew Nacin
f504e221e1 Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Ryan Boren
7c37c82691 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17431 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:30:26 +00:00
Peter Westwood
eeb06f8967 Improve the button and header test to give a clearer picture between Adding New Users and Adding Exiting Users to a site. Fixes #14756
git-svn-id: https://develop.svn.wordpress.org/trunk@17069 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 22:27:30 +00:00
Ryan Boren
e30b3ef70c Clarify button text. fixes #14756
git-svn-id: https://develop.svn.wordpress.org/trunk@17049 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 00:53:45 +00:00
Ryan Boren
b04abefc26 Skip confirmation email fixes. Props ocean90, duck_. see #15725
git-svn-id: https://develop.svn.wordpress.org/trunk@16949 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:04:19 +00:00
Mark Jaquith
9a6ef5b47d Fix duplicate HTML IDs for wp-admin/user-new.php on MS installs. props duck_. fixes #15562
git-svn-id: https://develop.svn.wordpress.org/trunk@16569 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 16:43:24 +00:00
Ryan Boren
d089000052 Notice fixes for user-new.php. Props wpdavis. see #15456
git-svn-id: https://develop.svn.wordpress.org/trunk@16527 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:56:08 +00:00
Ryan Boren
55bd96bfeb Fixes for user-new.php. Props wpdavis. see #15456
git-svn-id: https://develop.svn.wordpress.org/trunk@16518 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:36:46 +00:00
Andrew Nacin
af5d46012c Revert extra stuff from [16455].
git-svn-id: https://develop.svn.wordpress.org/trunk@16456 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:38:53 +00:00
Andrew Nacin
90343807eb Every time you nest a ternary operator, a kitten dies.
git-svn-id: https://develop.svn.wordpress.org/trunk@16455 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:37:00 +00:00
Ryan Boren
f9729112f0 Fix logic. Props nacin. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16297 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:34:51 +00:00
Ryan Boren
c8d7cc8664 user-new.php revamp. Separate caps for adding users vs. creating users. Allow supes to add via email or username. Split adding existing users and creating new users into separate forms. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16294 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:29:15 +00:00
Peter Westwood
9afb0e7247 Much better description for the noconfirmation check box.
git-svn-id: https://develop.svn.wordpress.org/trunk@16164 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 15:04:34 +00:00
Andrew Nacin
76d743274a Restore submit_button() for user-new. props markmcwilliams, see #15064.
git-svn-id: https://develop.svn.wordpress.org/trunk@16067 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:32:03 +00:00
Mark Jaquith
d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Andrew Nacin
8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
scribu
0911aa3e1a Use submit_button() in more places. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 18:24:34 +00:00
scribu
33077f83fa move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15780 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:29:19 +00:00
Nikolay Bachiyski
f80fb8883a I18n fixes
Do not leave more than %s in a translatable string and add a comment for translators what each placeholder means


git-svn-id: https://develop.svn.wordpress.org/trunk@15522 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:53:38 +00:00
Andrew Nacin
5c9e072270 s/site/network/ in user-new.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@15310 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 05:38:58 +00:00
Andrew Nacin
4352937ec0 Fix typo in user-new help. see #14038 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15304 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-22 23:04:49 +00:00
Andrew Nacin
2990e72571 target=blank help fixes. props zeo, fixes #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15135 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 03:42:43 +00:00
Ryan Boren
0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Andrew Nacin
8c693e492e Help fixes, props jane. fixes #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15103 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 05:54:14 +00:00
Andrew Nacin
e89212637d Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15054 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:16:40 +00:00
Andrew Nacin
66ab21abf1 Stick to the existing styles. see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15015 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 23:51:20 +00:00
Andrew Nacin
70ceaefd90 Users help. props dragoonis. see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15011 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 23:10:26 +00:00
Andrew Nacin
f049bc949c s/blog/site/ in more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@14326 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 07:09:38 +00:00