Commit Graph

50 Commits

Author SHA1 Message Date
Andrew Nacin
d4cf406ab4 Remove old bulk actions MS sites code.
git-svn-id: https://develop.svn.wordpress.org/trunk@14020 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 18:17:21 +00:00
Andrew Nacin
bc13365e82 Remove old bulk edit super admin code.
git-svn-id: https://develop.svn.wordpress.org/trunk@14018 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 13:26:12 +00:00
Ron Rennick
2d028e668f fix validation on dashboard site in ms-options, fixes #12831
git-svn-id: https://develop.svn.wordpress.org/trunk@14004 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 03:12:54 +00:00
Andrew Nacin
5bf79d1d8e File-level phpdoc for multisite files.
git-svn-id: https://develop.svn.wordpress.org/trunk@13998 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 13:29:35 +00:00
Andrew Nacin
db6a40aa27 Move add/remove super admin out of bulk edit and into user-edit.php. Introduce grant_super_admin() and revoke_super_admin(). Link to profile.php in ms-users user row for current user. Add defensive check by forcing IS_PROFILE_PAGE on user-edit if trying to edit your own user_id. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13941 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:46:07 +00:00
Mark Jaquith
9370ab3810 Huge MS refactoring and code cleanup. see #12460. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@13918 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 21:21:27 +00:00
Andrew Nacin
eea330b58c More ms-options cleanup. Add label elements, and transition to checkboxes from radios where we can. Also fix notice in global_terms_enabled post handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@13796 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 06:02:04 +00:00
Ryan Boren
e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ron Rennick
9fe9b2390f first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:17:55 +00:00
Ron Rennick
accb84ed22 introduce global_terms_enabled site option, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13713 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 15:31:50 +00:00
Andrew Nacin
10a2ebb829 Fix typo, trim whitespace. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13654 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 23:38:05 +00:00
Ron Rennick
372f453254 block invalid site names/urls in add site, see #11777
git-svn-id: https://develop.svn.wordpress.org/trunk@13630 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 17:06:58 +00:00
Ryan Boren
7850523e62 Update ms-sites UI. Props ocean90. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13609 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:31:10 +00:00
Ron Rennick
fedda523ec use delete_option vs update_option, see #12383
git-svn-id: https://develop.svn.wordpress.org/trunk@13511 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:49:31 +00:00
Ron Rennick
7b043de017 dont flush rewrite rules while in switch_to_blog, see #12383
git-svn-id: https://develop.svn.wordpress.org/trunk@13509 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:34:57 +00:00
Ron Rennick
4e11ee5944 more ms warnings cleanup, props ocean90, see #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13505 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 18:41:45 +00:00
Ron Rennick
a67e4e0f82 cleanup confirm delete users, props ocean90, fixes #12386
git-svn-id: https://develop.svn.wordpress.org/trunk@13504 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 16:58:17 +00:00
Ron Rennick
e9ab8b9216 sanitize domains in ms-options, fixes #11775
git-svn-id: https://develop.svn.wordpress.org/trunk@13447 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 23:36:26 +00:00
Ron Rennick
d4c1df745e prevent admins from removing themselves and main super admin from super admin list, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13431 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:16:31 +00:00
Andrew Nacin
69915544d2 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@13423 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:41:23 +00:00
Ron Rennick
4b53dbcf81 move super admin list maintenance from ms-options to ms-users, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13419 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:11:54 +00:00
Ron Rennick
85b1895890 more multisite UX rebranding, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13379 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:56:10 +00:00
Andrew Nacin
670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Ron Rennick
c7e12e9265 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: https://develop.svn.wordpress.org/trunk@13301 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:41:38 +00:00
Andrew Nacin
05a37728b1 Use esc_url() instead of clean_url(). See #12309
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Andrew Nacin
5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Ron Rennick
a2e14c070b strip slashes, block arrays in ms-edit.php, fixes #11778
git-svn-id: https://develop.svn.wordpress.org/trunk@13115 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 17:49:38 +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
Dion Hulse
75705ed4c3 Correctly save checkbox-style MS options and display "No" checked value correctly. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13095 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:09:04 +00:00
Ryan Boren
65b3f1e5e3 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: https://develop.svn.wordpress.org/trunk@12978 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:49:19 +00:00
Ryan Boren
529156a002 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: https://develop.svn.wordpress.org/trunk@12946 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:46:25 +00:00
Ryan Boren
f8c7cafbf4 Fix warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12945 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:19:21 +00:00
Ryan Boren
4f04f80237 Use API to retrieve user. fixes #11776
git-svn-id: https://develop.svn.wordpress.org/trunk@12935 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 17:37:15 +00:00
Ryan Boren
19136bb073 Don't use deprecated functions. Props filosofo. fixes #11807
git-svn-id: https://develop.svn.wordpress.org/trunk@12878 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 17:55:39 +00:00
Ryan Boren
325e92da49 Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12806 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 23:35:59 +00:00
Ryan Boren
57577592b6 Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
git-svn-id: https://develop.svn.wordpress.org/trunk@12796 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 17:27:28 +00:00
Ryan Boren
f12c5fdd6e Use update. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12774 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 16:50:09 +00:00
Ryan Boren
21c4d151e2 Use API to set the user's role. see #11781
git-svn-id: https://develop.svn.wordpress.org/trunk@12770 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 20:12:04 +00:00
Ryan Boren
e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Ryan Boren
6e875ec562 Coding style
git-svn-id: https://develop.svn.wordpress.org/trunk@12736 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 23:49:09 +00:00
Ron Rennick
0e3e18c7f2 change ms-blogs.php refs to ms-sites.php, remove extraneous character, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12725 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 19:42:55 +00:00
Ron Rennick
436316a4a8 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00
Ryan Boren
aff9330640 User is_super_admin(). Props GIGALinux. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12646 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 15:52:22 +00:00
Ryan Boren
18e6d905c5 Strip trailing whites from ms files. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12632 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:27:46 +00:00
Ryan Boren
b343c9ee06 Deprecate generate_random_password(). fixes #11746
git-svn-id: https://develop.svn.wordpress.org/trunk@12624 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:22:51 +00:00
Ryan Boren
cf5aae053b s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12622 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:30:53 +00:00
Ron Rennick
9b84b850c9 Change references to wpmu-edit.php - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12620 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:24:03 +00:00
Peter Westwood
816ed91f0f Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12610 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 22:22:45 +00:00
Ryan Boren
ca3f286d96 Introduce is_multisite(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12609 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:19:35 +00:00
Ron Rennick
032de15d5a Add mu only (inactive) files
git-svn-id: https://develop.svn.wordpress.org/trunk@12603 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 04:02:57 +00:00