Commit Graph

288 Commits

Author SHA1 Message Date
Ryan Boren 25bcec4e28 Plugin install fixes from DD32. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8550 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 17:06:42 +00:00
Peter Westwood 0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Peter Westwood 4e86f315b8 Avoid possible XSS when displaying the list of invalid plugins fixes #6871 for trunk props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8499 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:38:40 +00:00
Andrew Ozz ba35a97bb5 Fix error message when invalidating plugin because of bad path.
git-svn-id: https://develop.svn.wordpress.org/trunk@8496 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 00:02:47 +00:00
Andrew Ozz 4ad2e3433e Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: https://develop.svn.wordpress.org/trunk@8495 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 23:10:12 +00:00
Ryan Boren 0426b70c8e Move plugin data translation and display markup to plugins page. Props DD32. see #3089
git-svn-id: https://develop.svn.wordpress.org/trunk@8368 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-18 03:16:53 +00:00
Ryan Boren dea25c77e3 Plugins page layout improvements from DD32. see #7091
git-svn-id: https://develop.svn.wordpress.org/trunk@8218 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-30 23:12:18 +00:00
Ryan Boren 8712abb23c Delete plugin confirmation from DD32. see #7091
git-svn-id: https://develop.svn.wordpress.org/trunk@8095 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 18:35:48 +00:00
Ryan Boren a5afa77fca Cache get_plugins() list. Props DD32. fixes #7113
git-svn-id: https://develop.svn.wordpress.org/trunk@8068 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-10 16:57:33 +00:00
Ryan Boren 8c3e7d7283 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: https://develop.svn.wordpress.org/trunk@8060 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 19:21:35 +00:00
Ryan Boren b2d881412a Bulk delete/activate/deactivate for plugins. Split plugins into active and available lists. Props DD32. see #7091
git-svn-id: https://develop.svn.wordpress.org/trunk@8049 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 18:09:31 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren 488f9bf776 Consolidate class attributes. Props robertaccettura. fixes #6853 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7846 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-28 15:17:55 +00:00
Ryan Boren 337574056a Active plugin highlighting tweaks from MT. fixes #6275
git-svn-id: https://develop.svn.wordpress.org/trunk@7538 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 22:27:27 +00:00
Matt Mullenweg 4705bdae6e Removing active image.
git-svn-id: https://develop.svn.wordpress.org/trunk@7519 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 04:48:20 +00:00
Ryan Boren 6662674cfc Tweak active plugin highlighting. WIP. see #6275
git-svn-id: https://develop.svn.wordpress.org/trunk@7518 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 04:23:02 +00:00
Ryan Boren af399609b8 Filter list of plugins actions. Props DD32. see #5660
git-svn-id: https://develop.svn.wordpress.org/trunk@7517 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:59:40 +00:00
Ryan Boren 1a3fb85345 Markup fixes for plugins page from DD32. fixes #6383
git-svn-id: https://develop.svn.wordpress.org/trunk@7515 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:33:14 +00:00
Peter Westwood 333cc6c1c8 Right align actions on Plugins page. Fixes #6337 props mt.
git-svn-id: https://develop.svn.wordpress.org/trunk@7463 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 22:01:29 +00:00
Mark Jaquith 49dde1abac We're not reactivating ALL plugins, just the ones that were previously active
git-svn-id: https://develop.svn.wordpress.org/trunk@7457 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 19:40:06 +00:00
Ryan Boren 872d374ece Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: https://develop.svn.wordpress.org/trunk@7304 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 23:58:31 +00:00
Ryan Boren 3329632eee Remove extra plugin page pipes. fixes #6059
git-svn-id: https://develop.svn.wordpress.org/trunk@7122 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-01 20:38:35 +00:00
Ryan Boren 87b8a192c8 Style updates to plugins, export, and sidemenu from mt. fixes #6019
git-svn-id: https://develop.svn.wordpress.org/trunk@7066 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 19:18:21 +00:00
Ryan Boren 18875a91a8 Validation fixes from nbachiyski. fixes #5962
git-svn-id: https://develop.svn.wordpress.org/trunk@6980 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:30:43 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren fc12afebbc Always show plugin activation errors. Props DD32. fixes #5673
git-svn-id: https://develop.svn.wordpress.org/trunk@6627 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-16 16:46:49 +00:00
Ryan Boren e841f998af Make sure plugin is set. Props arickmann. fixes #5658
git-svn-id: https://develop.svn.wordpress.org/trunk@6626 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-16 16:45:36 +00:00
Ryan Boren 3e8cb53029 Plugin reactivation. Props dougal. see #4176
git-svn-id: https://develop.svn.wordpress.org/trunk@6580 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 09:37:27 +00:00
Ryan Boren 79d46bfaa9 activate_plugin(), deactivate_plugins(), and deactivate_all_plugins() from Quandary. fixes #5210
git-svn-id: https://develop.svn.wordpress.org/trunk@6259 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 17:14:58 +00:00
Mark Jaquith 41be365adf Don't show a plugin author byline if no author name has been specified. Props Viper007Bond. fixes #4927
git-svn-id: https://develop.svn.wordpress.org/trunk@6060 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 18:53:56 +00:00
Matt Mullenweg 2e06f333d5 First pass plugin update notification, see #4795
git-svn-id: https://develop.svn.wordpress.org/trunk@5913 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 10:48:48 +00:00
Mark Jaquith e4ed2b0504 Display fatal errors that prevent plugins from being activated. fixes #4508
git-svn-id: https://develop.svn.wordpress.org/trunk@5753 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 18:57:54 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n 9b7feef7a9 Don't die because of output by badly-written plugins upon activation. Props masquerade. fixes #4127
git-svn-id: https://develop.svn.wordpress.org/trunk@5239 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:23:23 +00:00
rob1n f42f14fb91 Add a bit of warning (red background on hover) to the Deactivate All Plugins button, and make align="right" XHTML-compliant.
git-svn-id: https://develop.svn.wordpress.org/trunk@5207 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 16:03:38 +00:00
Matt Mullenweg 6030d299e9 Move it to the more intuitive right side of the page, with the rest of the activation links
git-svn-id: https://develop.svn.wordpress.org/trunk@5161 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:15:58 +00:00
rob1n 47ebdc76c7 Deactivate All Plugins feature. fixes #3498
git-svn-id: https://develop.svn.wordpress.org/trunk@5156 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 20:56:54 +00:00
Ryan Boren aaee8a425b Use PLUGINDIR. Props z720 and Nazgul. fixes #3909
git-svn-id: https://develop.svn.wordpress.org/trunk@4972 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-06 17:47:27 +00:00
Mark Jaquith 320ac834de Prevent plugins that generate PHP fatal errors from being activated. ticket #3254
git-svn-id: https://develop.svn.wordpress.org/trunk@4811 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 20:45:20 +00:00
Ryan Boren 4942019a9c Typo fixes from mdawaffe. fixes #3474
git-svn-id: https://develop.svn.wordpress.org/trunk@4664 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-27 00:51:00 +00:00
Mark Jaquith f95b191dab i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: https://develop.svn.wordpress.org/trunk@4658 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 23:06:18 +00:00
Ryan Boren 83e269fd2e i18n fixes from nbachiyski. fixes #3470
git-svn-id: https://develop.svn.wordpress.org/trunk@4646 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-13 19:36:10 +00:00
Mark Jaquith 89da054b7b Sanitize all plugin metadata, for consistency. Props Viper007Bond. fixes #3396
git-svn-id: https://develop.svn.wordpress.org/trunk@4540 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-29 09:22:49 +00:00
Ryan Boren 7e226f1a94 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4480 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 07:31:29 +00:00
Matt Mullenweg 6af3bdbb32 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: https://develop.svn.wordpress.org/trunk@4478 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 06:09:48 +00:00
Ryan Boren 3579a1f67a Add some plugin activation validation.
git-svn-id: https://develop.svn.wordpress.org/trunk@4453 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 02:20:02 +00:00
Matt Mullenweg bc2d62560c Some UI cleanups, changes, and various miscellany.
git-svn-id: https://develop.svn.wordpress.org/trunk@4349 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 01:14:47 +00:00
Mark Jaquith 81bb761e4d move plugin sorting (by Name) to get_plugins() so that it works for the Edit Plugins page too. fixes: #2412
git-svn-id: https://develop.svn.wordpress.org/trunk@4325 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 09:36:21 +00:00
Mark Jaquith 5db07cc81f sort plugins by plugin name, for real. fixes #2412
git-svn-id: https://develop.svn.wordpress.org/trunk@4322 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 08:56:44 +00:00
Mark Jaquith 9e207e0231 edit link next to each plugin. Props David House. fixes #1657
git-svn-id: https://develop.svn.wordpress.org/trunk@4313 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 06:48:52 +00:00
Ryan Boren 455dd7d763 RTL enhancements from Sewar. #3136
git-svn-id: https://develop.svn.wordpress.org/trunk@4258 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-27 00:51:17 +00:00
Ryan Boren 7e99c9b9d7 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: https://develop.svn.wordpress.org/trunk@4202 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 20:46:39 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren 23e2a0a25f Use wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +00:00
Ryan Boren 6f1d273fc9 Update nonce action strings. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3804 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 23:08:05 +00:00
Matt Mullenweg 104a56563c Lots of style and admin tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@3770 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-10 20:35:10 +00:00
Ryan Boren fcfda4db13 Nonce from above. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3759 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:36:06 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren 068d987b1a uksort() not usort()
git-svn-id: https://develop.svn.wordpress.org/trunk@3479 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-24 09:44:17 +00:00
Ryan Boren a0467454ef Sort plugins by plugin name, not file name.
git-svn-id: https://develop.svn.wordpress.org/trunk@3477 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-24 07:48:21 +00:00
Ryan Boren 2628a27ef4 Exit after sending headers. fixes #1917
git-svn-id: https://develop.svn.wordpress.org/trunk@3365 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 00:16:40 +00:00
Ryan Boren 56e626673e i18n updates from nbachiyski. fixes #2069
git-svn-id: https://develop.svn.wordpress.org/trunk@3295 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 22:48:30 +00:00
Ryan Boren cb59a1db62 Actually remove deleted plugins from the active plugin list. This has been broken for ever. fixes #1709
git-svn-id: https://develop.svn.wordpress.org/trunk@2932 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 23:19:48 +00:00
Matt Mullenweg 7c4907713c Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
git-svn-id: https://develop.svn.wordpress.org/trunk@2762 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-08 01:13:22 +00:00
Matt Mullenweg 87a2dccccf Clean up plugins and dashboard
git-svn-id: https://develop.svn.wordpress.org/trunk@2759 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 10:45:06 +00:00
Ryan Boren 37f40b7935 register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: https://develop.svn.wordpress.org/trunk@2697 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 21:53:26 +00:00
Matt Mullenweg fe818f8ebf Usability hooks into wp.org
git-svn-id: https://develop.svn.wordpress.org/trunk@2594 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 11:37:36 +00:00
Ryan Boren 36639a2b71 Active plugins array sanity check. If the array isn't an array, reset it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2514 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 02:48:18 +00:00
Ryan Boren 7d9a069059 Fix number formatting in dashboard stats for numbers > 999. http://mosquito.wordpress.org/view.php?id=1074 Hat tip: dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2433 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 16:53:16 +00:00
Ryan Boren b55118a179 Embolden active plugins.
git-svn-id: https://develop.svn.wordpress.org/trunk@2090 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 20:20:29 +00:00
Matt Mullenweg 928966d6ce HTML fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1961 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 23:09:46 +00:00
Ryan Boren a48c0d3916 Correct i18n string markup. Bug 502. Patch from nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@1901 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-29 17:28:53 +00:00
Ryan Boren 5dfadae172 get_plugin_data() and get_plugins()
git-svn-id: https://develop.svn.wordpress.org/trunk@1887 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-26 02:29:45 +00:00
Ryan Boren ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
michelvaldrighi 636c018384 fix for #317: part one, avoid activating the same plugin twice
git-svn-id: https://develop.svn.wordpress.org/trunk@1711 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-26 18:12:12 +00:00
Matt Mullenweg 82e38938fa Use array storage for plugins list.
git-svn-id: https://develop.svn.wordpress.org/trunk@1522 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 07:17:54 +00:00
Ryan Boren 247a830a3c Fix spelling. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000036
git-svn-id: https://develop.svn.wordpress.org/trunk@1419 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-13 16:00:16 +00:00
michelvaldrighi eac2b46462 using check_admin_referer for plugin (de)activation
git-svn-id: https://develop.svn.wordpress.org/trunk@1299 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-17 20:16:54 +00:00
Matt Mullenweg 7f1cdc843e Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@1245 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 05:47:02 +00:00
Matt Mullenweg 3fedfb5746 E_ALL fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1239 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:56:33 +00:00
Ryan Boren 92b8de99f8 Mark strings for translation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1173 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-25 23:10:07 +00:00
Matt Mullenweg cbae3debcd Casting new line as literal rather than interpreted.
git-svn-id: https://develop.svn.wordpress.org/trunk@1167 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-25 08:11:05 +00:00
Matt Mullenweg 693d751a6f More l10n stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@1144 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 19:46:11 +00:00
Matt Mullenweg 6b991e154c Plugin enhancements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1081 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-16 02:24:37 +00:00
Matt Mullenweg 3a642ef09e Only include .php files.
git-svn-id: https://develop.svn.wordpress.org/trunk@1071 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-14 19:04:14 +00:00
Matt Mullenweg 52b84858f6 Show version and header bugfix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1015 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 21:04:36 +00:00
Matt Mullenweg a3aa82d0e0 Functional plugin implementation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1010 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 08:10:26 +00:00
Matt Mullenweg 2b8bbdb401 Initial plugin funcitonality checkin. Not done yet.
git-svn-id: https://develop.svn.wordpress.org/trunk@1008 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 07:05:52 +00:00