Andrew Nacin
5ed7eb7f1c
Clean up plugins.php with regards to recently edited files, deactivations, and the network admin. see #20468 , #20104 .
...
* Limit recently_activated to the site dashboard, and properly remove bulk-activated plugins from the array.
* Remove code used from before the network admin, such as the unused 'network' plugin_status.
* Don't try to deactivate a plugin already deactivated.
* Use more specific caps (manage_network_plugins) rather than is_super_admin().
git-svn-id: https://develop.svn.wordpress.org/trunk@20525 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 03:41:29 +00:00
Andrew Nacin
a372b1a704
Visually merge a plugin with its update notice. Same applies to themes in the network admin. Move from 'update automatically' to 'update now'. fixes #20273 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20236 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 16:19:27 +00:00
Andrew Nacin
d7b7ac8c1b
'Network Activate' should be the bulk action on network/plugins.php, to match the action link. props ampt, fixes #19946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20046 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 21:52:27 +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
Andrew Nacin
a854604f54
Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18811 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:54:05 +00:00
Andrew Nacin
5ef9f551a3
Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18319 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:02:58 +00:00
Ryan Boren
46d96c7704
Bring out the pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Ryan Boren
ac3a991b17
Fix paging through plugin search results. Props dd32. fixes #17285
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18093 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 16:03:41 +00:00
Dion Hulse
0822d55016
* Allow Pagination for Must-Use/Dropin plugins
...
* Respect WP_CONTENT_DIR & WPMU_PLUGIN_DIR for help text
* Move help text into WP_Plugins_List_Table
See #17327
git-svn-id: https://develop.svn.wordpress.org/trunk@17806 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 05:24:15 +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
Ryan Boren
2394a8d68d
Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17449 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 03:43:47 +00:00
Andrew Nacin
28e3e0a809
Don't sort the plugin name column. It doesn't stick between actions and is quite useless, so out it goes. fixes #16322 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17338 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:09:46 +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
eba71eb7c0
Bring out the shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +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
Ryan Boren
34ef8c8df9
Translations in title attributes require esc_attr().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
b0b270dc34
Search query string tweaks for net plugins. Props PeteMall. see #15872
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17038 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 23:47:40 +00:00
Ryan Boren
8ec123bd34
Remove the delete action link from the network admin if the plugin is active on the main site. Remove the plugin(s) from the deletion list for the bulk actions and shows an error if no other plugin was selected for bulk-deletion. Props PeteMall. see #15709
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17033 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:53:47 +00:00
Pete Mall
ad14a8f5f4
New filter for network admin plugins action link. Fixes #15850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17004 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:22:46 +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
Andrew Nacin
afecafe7ab
Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16990 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:43:22 +00:00
Andrew Nacin
e06249b885
We don't apply markup here. see #15742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16988 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:04:54 +00:00
Andrew Nacin
137601189d
Don't show plugin edit link in the site admin. fixes #15722 . fixes logic in [16777].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16778 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:14:44 +00:00
Andrew Nacin
35d7a02cba
Don't show plugin edit link in the site admin. fixes #15722 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16777 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:06:44 +00:00
Andrew Nacin
2c44ffcc57
Restore bottom padding in plugin rows. fixes #15547 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16745 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:15:09 +00:00
Pete Mall
2cda8d6dd2
Show network only plugins for !is_multisite. Fixes #15666
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16709 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 18:05:37 +00:00
Mark Jaquith
13ed00f2d4
Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:45:47 +00:00
Andrew Nacin
10f92b7e87
Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16498 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:23:44 +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
scribu
a2130f160d
Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16372 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:34:59 +00:00
scribu
a4ee63c95a
Make custom plugin columns hideable. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16350 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:21:40 +00:00
scribu
7d32a98787
Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16349 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:01:57 +00:00
scribu
21bef0ad36
Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16348 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:57:25 +00:00
scribu
a06d0688e9
Introduce WP_Plugins_List_table:single_row(). See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16347 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:30:20 +00:00
scribu
07b54f3eb4
Move network only status check out of foreach. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16346 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:25:56 +00:00
scribu
da3a486cef
Begin rework of plugins list table. Props edward mindreantre. See #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16345 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:58:23 +00:00
scribu
baaf0585dd
Use get_current_screen() in list table classes. Fixes #15338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16235 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 15:43:44 +00:00
scribu
a1c670189d
remove leading <li> from get_views() and add it later. Fixes #15321
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16205 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 14:34:09 +00:00
scribu
419c42838b
Rename property _screen to screen. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16195 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 21:02:13 +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
3944269814
Minor cleanups. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16190 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:28:58 +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
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