Commit Graph

238 Commits

Author SHA1 Message Date
Nikolay Bachiyski 596e652f2e Add context to Add New buttons in Network admin. See #15577
git-svn-id: https://develop.svn.wordpress.org/trunk@16611 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:41:35 +00:00
Pete Mall 0644a49f1c Update and error messages for site-themes. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16606 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 07:24:54 +00:00
Pete Mall 5ed01b14a4 Site themes cleanup. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16592 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 00:20:18 +00:00
Pete Mall 362575ce35 Create new user form for site-users. See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16586 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 11:12:33 +00:00
Pete Mall 23638e8d67 Exit after wp_redirect(). See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16584 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 09:25:50 +00:00
Pete Mall 85161f0317 Update and error messages for site-users. See #15558.
git-svn-id: https://develop.svn.wordpress.org/trunk@16582 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 09:13:38 +00:00
Pete Mall ac67c65fe4 Adapt user-list-table for network admin site-users. See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16560 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 05:31:25 +00:00
Pete Mall 842d059bd1 Site Themes cleanup. See #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16559 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 00:27:54 +00:00
Ryan Boren 0f2e7ef602 Set blog id for site-themes.php AJAX requests.
git-svn-id: https://develop.svn.wordpress.org/trunk@16556 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 22:27:05 +00:00
Peter Westwood ecf96562d6 Add a nonce check on the confirm links in the Network Admin stage one.
git-svn-id: https://develop.svn.wordpress.org/trunk@16547 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 12:10:01 +00:00
Ryan Boren bc9642a3f5 Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
git-svn-id: https://develop.svn.wordpress.org/trunk@16501 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 05:48:35 +00:00
Ryan Boren a5a5164229 Titles for network admin and global dashboard. see #15477
git-svn-id: https://develop.svn.wordpress.org/trunk@16474 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:02:52 +00:00
Andrew Nacin dc27759993 Move the network version of Tools > Network to the network admin. props wpdavis, fixes #15461.
git-svn-id: https://develop.svn.wordpress.org/trunk@16453 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:24:13 +00:00
Ryan Boren 61da29b739 Remove debug. Props ocean90. see #15342
git-svn-id: https://develop.svn.wordpress.org/trunk@16441 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 20:08:00 +00:00
Ryan Boren 77472dfa65 Add existing user to site form. Props PeteMall, ocean90. see #15342
git-svn-id: https://develop.svn.wordpress.org/trunk@16440 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 19:45:10 +00:00
Mark Jaquith 55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
Andrew Nacin 153f7bb62d Remove unnecessary message in network/settings. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16406 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 17:51:45 +00:00
Ryan Boren 9ff9211249 Handle sites that hard-code roles rather than storing them in the DB. Temp hack. see #15411
git-svn-id: https://develop.svn.wordpress.org/trunk@16370 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:07 +00:00
Ryan Boren 53ae0610e6 Check delete_site and delete_sites caps. Check for delete_user is more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@16329 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:35:28 +00:00
Ryan Boren 4ca2e2a1fa Use install_themes cap
git-svn-id: https://develop.svn.wordpress.org/trunk@16327 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:32:40 +00:00
Ryan Boren 31ecc8008a Whitespace cleanup. Props sorich87. see #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@16306 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:57:22 +00:00
Ryan Boren b8ebc2cecb Add screen options to site-themes. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16298 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 15:16:16 +00:00
Ryan Boren c5186dde67 Marksup fixes. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16296 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:32:02 +00:00
Ryan Boren bf41cf19fd Better styling for add user form fields. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16295 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:31:16 +00:00
Peter Westwood ea7bd69745 Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +00:00
Andrew Nacin ffd50167bd Network admin multisite checks and docs. see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16272 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 14:27:15 +00:00
Andrew Nacin 3c62cf9519 Network Wide Settings -> Language Settings and kill the notice, which is implicit enough with the word 'Default.' see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16271 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 14:01:39 +00:00
Andrew Nacin 68eba28b16 Search for site-themes. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16252 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 02:16:45 +00:00
Ryan Boren 03d34fd1f8 site-themes.php cleanup. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16242 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 21:52:54 +00:00
Ryan Boren fb54ba39cd Use bool for allowed themes. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16241 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 19:40:05 +00:00
scribu 393bdc04e3 Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269. Also fixes [16190]
git-svn-id: https://develop.svn.wordpress.org/trunk@16194 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:49:30 +00:00
scribu 5d9b59521c Network Themes cleanup. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16193 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:11:08 +00:00
Peter Westwood cf37645868 Check the current user can create sites before showing the button. See #14435 props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16185 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:21:25 +00:00
Ryan Boren 91e15d98c3 Check create_users cap. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16184 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:27:18 +00:00
Ryan Boren b80e0de594 Add new user page for network admin. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16183 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:16:52 +00:00
Peter Westwood 817aa1975c Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
scribu d1034ad0d3 complete the renaming. props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16172 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 22:06:45 +00:00
Ryan Boren 103523a499 Drop Sites search action dropdown. Determine the search action from the search string. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16166 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:28:02 +00:00
Andrew Nacin d583c2be0e Add theme updates to the network themes screen. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16141 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 20:08:25 +00:00
Peter Westwood c4633bbd54 The big renaming of the list-table class files.
See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00
scribu 0c315e2c11 Add contextual help for Network -> Sites. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16122 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:23:32 +00:00
Andrew Nacin c1afa3472d Remove old ajax handler. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16120 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 18:20:09 +00:00
Peter Westwood 9cba32348d First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16113 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:37:15 +00:00
Andrew Nacin 0ab13047ef Use a create_users cap for Sites > Add New. fixes #14621.
git-svn-id: https://develop.svn.wordpress.org/trunk@16103 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:31:13 +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
Ryan Boren eb4985a24d Action switch no longer needed. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@16014 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 16:06:40 +00:00
Andrew Nacin 4dd97a09bf Language cleanup. props jane, scribu, fixes #14585.
git-svn-id: https://develop.svn.wordpress.org/trunk@16001 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:14:48 +00:00
Ryan Boren ae76af21a9 Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@15962 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:45:58 +00:00
Andrew Nacin 49589001bb Commit the rest of [15955]. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15956 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:58:25 +00:00
Andrew Nacin c6f08a2929 And site-new, too. props PeteMall, see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15908 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:31:01 +00:00
Andrew Nacin b61c50cbf3 Use correct network admin icon. props PeteMall, see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15907 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:24:54 +00:00
Andrew Nacin 337eeb3134 Checkboxes over radio buttons for site info tab. Values outside of 0/1 won't be changed, see #12832 for previous discussion. see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15906 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:23:54 +00:00
Ryan Boren 8b52b36850 Fix bulk network users nonce. Props duck_. fixes #15168
git-svn-id: https://develop.svn.wordpress.org/trunk@15905 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:20:50 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Ryan Boren 69994bf7ca Tabbed interface for site editing. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@15903 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 18:35:52 +00:00
Andrew Nacin b25df4f549 Rename Update menu to Updates in network admin. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15901 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:52:44 +00:00
Andrew Nacin df81af604c Network admin theme install. props PeteMall, fixes #15184.
git-svn-id: https://develop.svn.wordpress.org/trunk@15898 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:06:52 +00:00
Andrew Nacin 63f0dd2135 Add @since to new file. props markmcwilliams. see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15895 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:38:50 +00:00
Ryan Boren e93f819e09 Move add site form to site-new.php. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@15886 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:49:49 +00:00
Ryan Boren 238431b624 Add network/update-core.php. see #15162
git-svn-id: https://develop.svn.wordpress.org/trunk@15885 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:15:27 +00:00
Ryan Boren 682376a2ae Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:08:47 +00:00
Andrew Nacin 60526c0fc8 Doc blocks for wp-admin/network. see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15880 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 11:21:13 +00:00
Andrew Nacin 82cd99503e Dashboard widgets in the network admin. props PeteMall. see #15163.
git-svn-id: https://develop.svn.wordpress.org/trunk@15878 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 10:06:17 +00:00
Ryan Boren 76b207939d Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:43:32 +00:00
Ryan Boren 7734b05a71 Add update-core to network admin. Props PeteMall. see #15162
git-svn-id: https://develop.svn.wordpress.org/trunk@15871 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:38:00 +00:00
Andrew Nacin e745378cab Fix dashboard menu icon in network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15869 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:52:10 +00:00
Andrew Nacin ba2d60c7fd Cast before implode. fixes #15167.
git-svn-id: https://develop.svn.wordpress.org/trunk@15868 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:22:47 +00:00
Ryan Boren 771bf8b862 Add plugin update notifications, plugin install, plugin update to the network admin screen. Props PeteMall. see #15129
git-svn-id: https://develop.svn.wordpress.org/trunk@15867 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:16:03 +00:00
Ryan Boren 898e5b0268 Plugin editing for network admin. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15853 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 18:23:23 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Ryan Boren 122a2981c4 Allow flagging of a blog as mature via a URL. Move some actions into update_blog_status(). Props Viper007Bond. fixes #14385
git-svn-id: https://develop.svn.wordpress.org/trunk@15836 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 18:53:47 +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
Andrew Nacin 17b2091b43 s/Backend/Dashboard/. props markmcwilliams, fixes #14585.
git-svn-id: https://develop.svn.wordpress.org/trunk@15759 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 02:11:10 +00:00
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Ryan Boren 0afda4b179 require_once to avoid error from admin bar snack menu include
git-svn-id: https://develop.svn.wordpress.org/trunk@15716 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:25:39 +00:00
Andrew Nacin 89656a07b5 Don't echo the updated div on sites.php before the admin header.
git-svn-id: https://develop.svn.wordpress.org/trunk@15673 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-28 18:21:46 +00:00
scribu 130b669167 Fix redirection when saving network settings. Fixes #14970
git-svn-id: https://develop.svn.wordpress.org/trunk@15669 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 23:18:43 +00:00
scribu 9d784b7329 Fix MS User search. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15603 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 10:20:07 +00:00
scribu 84771d91a8 Fix MS Sites nonce. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15602 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 10:17:31 +00:00
scribu ef3ee6e841 call get_users() from get_users_of_blog()
git-svn-id: https://develop.svn.wordpress.org/trunk@15566 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:35:55 +00:00
scribu 76ac1c93a8 Introduce get_list_table(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu 1c4aeef40e replace $table with $wp_list_table. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 11:22:46 +00:00
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu 4a855fb895 Fix network files. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15494 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:38:46 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Ryan Boren 126dc0a006 Move confirm_delete_users() to edit.php. Update links in edit.php. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15488 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 18:10:43 +00:00
Ryan Boren 9d87a4c9a9 Update network upgrade links. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15484 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 15:36:57 +00:00
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