Commit Graph

46 Commits

Author SHA1 Message Date
nacin 7b55c4688a 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: http://svn.automattic.com/wordpress/trunk@13941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:46:07 +00:00
markjaquith d510d0bdc7 Huge MS refactoring and code cleanup. see #12460. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 21:21:27 +00:00
nacin 55ebce714a 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: http://svn.automattic.com/wordpress/trunk@13796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 06:02:04 +00:00
ryan e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
wpmuguru 47302e0188 first pass on optional global terms, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:17:55 +00:00
wpmuguru 0c2ab53136 introduce global_terms_enabled site option, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 15:31:50 +00:00
nacin 622a4084fc Fix typo, trim whitespace. see #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@13654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 23:38:05 +00:00
wpmuguru bfe35227d3 block invalid site names/urls in add site, see #11777
git-svn-id: http://svn.automattic.com/wordpress/trunk@13630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 17:06:58 +00:00
ryan b2c3ace49a Update ms-sites UI. Props ocean90. see #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@13609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 18:31:10 +00:00
wpmuguru 45325c3d41 use delete_option vs update_option, see #12383
git-svn-id: http://svn.automattic.com/wordpress/trunk@13511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:49:31 +00:00
wpmuguru 0846527d17 dont flush rewrite rules while in switch_to_blog, see #12383
git-svn-id: http://svn.automattic.com/wordpress/trunk@13509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 19:34:57 +00:00
wpmuguru 871b2357b8 more ms warnings cleanup, props ocean90, see #12409
git-svn-id: http://svn.automattic.com/wordpress/trunk@13505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 18:41:45 +00:00
wpmuguru 0fc4e2c9c1 cleanup confirm delete users, props ocean90, fixes #12386
git-svn-id: http://svn.automattic.com/wordpress/trunk@13504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 16:58:17 +00:00
wpmuguru a399b4b845 sanitize domains in ms-options, fixes #11775
git-svn-id: http://svn.automattic.com/wordpress/trunk@13447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 23:36:26 +00:00
wpmuguru 997a564f72 prevent admins from removing themselves and main super admin from super admin list, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 17:16:31 +00:00
nacin 1409dcca90 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:41:23 +00:00
wpmuguru e667fb14e0 move super admin list maintenance from ms-options to ms-users, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:11:54 +00:00
wpmuguru 9ee37eb920 more multisite UX rebranding, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:56:10 +00:00
nacin 2ce7dc4dac Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
wpmuguru a5a9f32b73 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: http://svn.automattic.com/wordpress/trunk@13301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:41:38 +00:00
nacin 5656a345b9 Use esc_url() instead of clean_url(). See #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:15:10 +00:00
nacin 00706d68ce Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: http://svn.automattic.com/wordpress/trunk@13256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:09:49 +00:00
wpmuguru 29a9729ccf strip slashes, block arrays in ms-edit.php, fixes #11778
git-svn-id: http://svn.automattic.com/wordpress/trunk@13115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 17:49:38 +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
dd32 044cf9b83c Correctly save checkbox-style MS options and display "No" checked value correctly. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:09:04 +00:00
ryan ba6228f2b7 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: http://svn.automattic.com/wordpress/trunk@12978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:49:19 +00:00
ryan cf7da6eab8 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: http://svn.automattic.com/wordpress/trunk@12946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:46:25 +00:00
ryan b595595a43 Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:19:21 +00:00
ryan a62e167391 Use API to retrieve user. fixes #11776
git-svn-id: http://svn.automattic.com/wordpress/trunk@12935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 17:37:15 +00:00
ryan fc204c952d Don't use deprecated functions. Props filosofo. fixes #11807
git-svn-id: http://svn.automattic.com/wordpress/trunk@12878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:55:39 +00:00
ryan 3609f388f5 Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:35:59 +00:00
ryan 92bf8d124c Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 17:27:28 +00:00
ryan 9aa40449a9 Use update. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 16:50:09 +00:00
ryan aac0a1230a Use API to set the user's role. see #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:12:04 +00:00
ryan 8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
ryan c2873bbab3 Coding style
git-svn-id: http://svn.automattic.com/wordpress/trunk@12736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:49:09 +00:00
wpmuguru 04803e826d change ms-blogs.php refs to ms-sites.php, remove extraneous character, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:42:55 +00:00
wpmuguru 4b8c87da92 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: http://svn.automattic.com/wordpress/trunk@12674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 21:25:01 +00:00
ryan 4c92a634a3 User is_super_admin(). Props GIGALinux. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 15:52:22 +00:00
ryan adf017f6b9 Strip trailing whites from ms files. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:27:46 +00:00
ryan ce33a91f95 Deprecate generate_random_password(). fixes #11746
git-svn-id: http://svn.automattic.com/wordpress/trunk@12624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:22:51 +00:00
ryan fd475d2b38 s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:30:53 +00:00
wpmuguru 8ab77e04e7 Change references to wpmu-edit.php - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:24:03 +00:00
westi 53d810f260 Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 22:22:45 +00:00
ryan f5e12260d4 Introduce is_multisite(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:19:35 +00:00
wpmuguru d07d6c5717 Add mu only (inactive) files
git-svn-id: http://svn.automattic.com/wordpress/trunk@12603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 04:02:57 +00:00