Commit Graph

77 Commits

Author SHA1 Message Date
Ryan Boren edd48280e3 Network Admin, first pass. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15481 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 20:34:54 +00:00
Andrew Nacin 85394e795e More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00
Andrew Nacin 97366f31f0 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15404 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:27:05 +00:00
Ryan Boren 9fe4a697cf Don't process allowedthemes option when editing a site. Props wpmuguru. fixes #14120
git-svn-id: https://develop.svn.wordpress.org/trunk@15351 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 14:32:49 +00:00
Andrew Nacin ed6045fbb6 Save add_new_users ms-option. props wpmuguru, fixes #14119 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15342 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 20:11:59 +00:00
Ryan Boren ceab605169 Use prepare(). Props Ben Ward.
git-svn-id: https://develop.svn.wordpress.org/trunk@15340 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 19:55:55 +00:00
Peter Westwood 7eddc7a833 Fix typo in translation. Fixes #13872 props Angeloverona.
git-svn-id: https://develop.svn.wordpress.org/trunk@15244 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 16:19:04 +00:00
Ryan Boren 8dc054b4ed Warning and styling fixes. Props ocean90. fixes #13775
git-svn-id: https://develop.svn.wordpress.org/trunk@15179 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 18:13:29 +00:00
Ryan Boren d3b81268cb Fix warning. Props filosofo. fixes #13764
git-svn-id: https://develop.svn.wordpress.org/trunk@15157 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-07 13:11:48 +00:00
Andrew Nacin af1c3ce459 Numerous RTL improvements. props ocean90, TECannon. fixes #13663, fixes #13677.
git-svn-id: https://develop.svn.wordpress.org/trunk@15146 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-05 21:04:48 +00:00
Ron Rennick bd7ccea9ee strip www before adding subdomain when creating new site
git-svn-id: https://develop.svn.wordpress.org/trunk@15050 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 00:32:10 +00:00
Andrew Nacin f26024e7b6 Prevent super admins from shooting themselves in the foot. props jorbin. Checks blog names against an array (filterable) of reserved keywords for subdirectory installs. fixes #13304.
git-svn-id: https://develop.svn.wordpress.org/trunk@14928 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:13:16 +00:00
Ron Rennick 47548d6b7d fix warning in ms-edit.php
git-svn-id: https://develop.svn.wordpress.org/trunk@14910 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 23:27:15 +00:00
Andrew Nacin ef62c16135 Remove the on switch for global terms. install_global_terms() can be triggered in a plugin. see #12666.
git-svn-id: https://develop.svn.wordpress.org/trunk@14880 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 13:58:52 +00:00
Mark Jaquith 25d5809ba3 Misc HTML validation fixes. see #13383. props jshreve
git-svn-id: https://develop.svn.wordpress.org/trunk@14737 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:32:39 +00:00
Mark Jaquith 029fa3a7d5 Revert accidental inclusion of another patch in [14734]. Doh. Reviewing that one next!
git-svn-id: https://develop.svn.wordpress.org/trunk@14735 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:15:06 +00:00
Mark Jaquith 3aebd43d6f Cast global_terms_enabled to bool before doing checked() so that FALSE matches as well as 0.
git-svn-id: https://develop.svn.wordpress.org/trunk@14734 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:12:01 +00:00
Andrew Nacin c624e0da90 Use echo esc_html, not esc_html_e, which also translates.
git-svn-id: https://develop.svn.wordpress.org/trunk@14720 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 04:58:18 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin 8800622876 s/blog/site/ in more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14313 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 01:54:32 +00:00
Andrew Nacin 915bc58b28 Restore radios for MS site flags, as the schema supports other values. see #12832
git-svn-id: https://develop.svn.wordpress.org/trunk@14277 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 08:15:45 +00:00
Ron Rennick 544533c0a1 don't change super admin primary site when creating new site
git-svn-id: https://develop.svn.wordpress.org/trunk@14253 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 17:37:01 +00:00
Ryan Boren 8d9073103c Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: https://develop.svn.wordpress.org/trunk@14206 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 20:34:03 +00:00
Andrew Nacin 9b66f84145 Fix the blog settings checkboxes on ms-sites.php. fixes #12889
git-svn-id: https://develop.svn.wordpress.org/trunk@14102 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:35:44 +00:00
Dion Hulse 491063c698 Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
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