Commit Graph

37 Commits

Author SHA1 Message Date
Ryan Boren ce960f67a0 Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and delete_blog_option().
Use the regular option functions wrapped in switch_to_blog() and restore_current_blog() instead.

Group multiple operations within a single switch where possible.

fixes #21432


git-svn-id: https://develop.svn.wordpress.org/trunk@21414 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 17:51:42 +00:00
Ryan Boren dd15327790 More screen reader text for list table checkboxes and theme install search. Props MikeLittle, SergeyBiryukov. see #21325
git-svn-id: https://develop.svn.wordpress.org/trunk@21323 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:18:14 +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
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 ac34546770 Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
git-svn-id: https://develop.svn.wordpress.org/trunk@18871 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:30:07 +00:00
Andrew Nacin 13999695f1 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: https://develop.svn.wordpress.org/trunk@18562 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 02:29:06 +00:00
Ryan Boren 4dcfeabff1 Sites search improvements. fixes #18013
git-svn-id: https://develop.svn.wordpress.org/trunk@18442 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 15:42:26 +00:00
Ryan Boren 9730cb8d15 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 20:05:12 +00:00
Andrew Nacin b905438706 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17496 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 18:33:55 +00:00
Andrew Nacin b789eb1ace Link to site-users and network/user-edit on sites.php. props PeteMall, see #16322.
git-svn-id: https://develop.svn.wordpress.org/trunk@17336 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:08:24 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Ryan Boren 1ac9d9092d Fix registered and path column sorting. Props garyc40. fixes #16034
git-svn-id: https://develop.svn.wordpress.org/trunk@17180 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 18:06:33 +00:00
Andrew Nacin de8fda19e3 Validation fixes. props ocean90, fixes #15287.
git-svn-id: https://develop.svn.wordpress.org/trunk@17129 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 14:19:41 +00:00
Andrew Nacin 266cd3f5df Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:18:28 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Peter Westwood 4e3458f227 Actions and Filters for the Network Admin sites panel to make it easier to add custom actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@16707 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 12:12:44 +00:00
scribu 22f5bc004f Fix problems with hidden columns on network users screen. Props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16601 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 17:39:44 +00:00
Peter Westwood 33e3c14b11 And proper context too!
git-svn-id: https://develop.svn.wordpress.org/trunk@16550 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:50:23 +00:00
Peter Westwood 2be428108c Correct incorrect action name.
git-svn-id: https://develop.svn.wordpress.org/trunk@16549 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:41:57 +00:00
Peter Westwood ecdda2ce86 Require nonces for all the confirm links so we know they actually came from us.
Add a nonce check on the confirm links in the Network Admin stage two.


git-svn-id: https://develop.svn.wordpress.org/trunk@16548 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 12:14:03 +00:00
Peter Westwood 66a5b13074 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@16546 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:46:10 +00:00
Peter Westwood 40115d566d Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table.
git-svn-id: https://develop.svn.wordpress.org/trunk@16545 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:39:50 +00:00
Ryan Boren c245d5f44b Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16489 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:16:03 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +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
scribu d95cfc6eab Make 'registered' column sort by site id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16289 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:45:32 +00:00
scribu 7edd2f0090 Default to get_current_screen() in list table classes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16182 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 15:00:55 +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 ed884411fe List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16171 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 21:09:27 +00:00
Ryan Boren 0ab95195d0 Allow trailing wildcard site searches by appending *. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16169 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 19:26:23 +00:00
Ryan Boren 358cdf6e23 Make IP query threshold more restrictive. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16167 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:40:12 +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
Ryan Boren 3c007cce8e Lose wildcards in site search. Maybe bring it back as an option. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16161 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:57:43 +00:00
Peter Westwood bb52f64946 Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
git-svn-id: https://develop.svn.wordpress.org/trunk@16158 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 22:13:16 +00:00
Ryan Boren d6e8a729a9 Default to id since registered doesn't have an index. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16157 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 21:23:26 +00:00
Ryan Boren a0349d55a1 For large networks, show the latest registered blogs without paging to avoid expensive count queries. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16137 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 17:53:03 +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