Commit Graph

335 Commits

Author SHA1 Message Date
azaozz ca07515463 Fix error message when invalidating plugin because of bad path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 00:02:47 +00:00
azaozz 80c409458f Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: http://svn.automattic.com/wordpress/trunk@8495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 23:10:12 +00:00
ryan 8f29cb96e7 Move plugin data translation and display markup to plugins page. Props DD32. see #3089
git-svn-id: http://svn.automattic.com/wordpress/trunk@8368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-18 03:16:53 +00:00
ryan 2ea00f0380 Plugins page layout improvements from DD32. see #7091
git-svn-id: http://svn.automattic.com/wordpress/trunk@8218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-30 23:12:18 +00:00
ryan 22e486c4f8 Delete plugin confirmation from DD32. see #7091
git-svn-id: http://svn.automattic.com/wordpress/trunk@8095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 18:35:48 +00:00
ryan b666a1c910 Cache get_plugins() list. Props DD32. fixes #7113
git-svn-id: http://svn.automattic.com/wordpress/trunk@8068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-10 16:57:33 +00:00
ryan 385d3d9500 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: http://svn.automattic.com/wordpress/trunk@8060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 19:21:35 +00:00
ryan 8377b52dc8 Bulk delete/activate/deactivate for plugins. Split plugins into active and available lists. Props DD32. see #7091
git-svn-id: http://svn.automattic.com/wordpress/trunk@8049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 18:09:31 +00:00
ryan 6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
ryan a2220d1659 Consolidate class attributes. Props robertaccettura. fixes #6853 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 15:17:55 +00:00
ryan bfba721708 Active plugin highlighting tweaks from MT. fixes #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 22:27:27 +00:00
matt 909c0f8fbd Removing active image.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 04:48:20 +00:00
ryan ed0379930b Tweak active plugin highlighting. WIP. see #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 04:23:02 +00:00
ryan 7e93fa628f Filter list of plugins actions. Props DD32. see #5660
git-svn-id: http://svn.automattic.com/wordpress/trunk@7517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:59:40 +00:00
ryan 7971f0a536 Markup fixes for plugins page from DD32. fixes #6383
git-svn-id: http://svn.automattic.com/wordpress/trunk@7515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:33:14 +00:00
westi ac7cf2b1cc Right align actions on Plugins page. Fixes #6337 props mt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 22:01:29 +00:00
markjaquith a2c0c840b9 We're not reactivating ALL plugins, just the ones that were previously active
git-svn-id: http://svn.automattic.com/wordpress/trunk@7457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 19:40:06 +00:00
ryan 7a1db035a2 Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: http://svn.automattic.com/wordpress/trunk@7304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 23:58:31 +00:00
ryan a239d2f38c Remove extra plugin page pipes. fixes #6059
git-svn-id: http://svn.automattic.com/wordpress/trunk@7122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 20:38:35 +00:00
ryan b310e6a620 Style updates to plugins, export, and sidemenu from mt. fixes #6019
git-svn-id: http://svn.automattic.com/wordpress/trunk@7066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 19:18:21 +00:00
ryan 90ef210610 Validation fixes from nbachiyski. fixes #5962
git-svn-id: http://svn.automattic.com/wordpress/trunk@6980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:30:43 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan d9a3735eae Always show plugin activation errors. Props DD32. fixes #5673
git-svn-id: http://svn.automattic.com/wordpress/trunk@6627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 16:46:49 +00:00
ryan a2e8bad643 Make sure plugin is set. Props arickmann. fixes #5658
git-svn-id: http://svn.automattic.com/wordpress/trunk@6626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 16:45:36 +00:00
ryan cf879c0c55 Plugin reactivation. Props dougal. see #4176
git-svn-id: http://svn.automattic.com/wordpress/trunk@6580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 09:37:27 +00:00
ryan 2c5016e8fa activate_plugin(), deactivate_plugins(), and deactivate_all_plugins() from Quandary. fixes #5210
git-svn-id: http://svn.automattic.com/wordpress/trunk@6259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 17:14:58 +00:00
markjaquith 23b1e871a1 Don't show a plugin author byline if no author name has been specified. Props Viper007Bond. fixes #4927
git-svn-id: http://svn.automattic.com/wordpress/trunk@6060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 18:53:56 +00:00
matt 27657cd8cf First pass plugin update notification, see #4795
git-svn-id: http://svn.automattic.com/wordpress/trunk@5913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 10:48:48 +00:00
markjaquith 2fd0094ce3 Display fatal errors that prevent plugins from being activated. fixes #4508
git-svn-id: http://svn.automattic.com/wordpress/trunk@5753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 18:57:54 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n ef58292639 Don't die because of output by badly-written plugins upon activation. Props masquerade. fixes #4127
git-svn-id: http://svn.automattic.com/wordpress/trunk@5239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 03:23:23 +00:00
rob1n c7f54c6afe Add a bit of warning (red background on hover) to the Deactivate All Plugins button, and make align="right" XHTML-compliant.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 16:03:38 +00:00
matt 64771eb61d Move it to the more intuitive right side of the page, with the rest of the activation links
git-svn-id: http://svn.automattic.com/wordpress/trunk@5161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:15:58 +00:00
rob1n d13cd6c3ce Deactivate All Plugins feature. fixes #3498
git-svn-id: http://svn.automattic.com/wordpress/trunk@5156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 20:56:54 +00:00
ryan 83112722cd Use PLUGINDIR. Props z720 and Nazgul. fixes #3909
git-svn-id: http://svn.automattic.com/wordpress/trunk@4972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-06 17:47:27 +00:00
markjaquith f7bf2c25ac Prevent plugins that generate PHP fatal errors from being activated. ticket #3254
git-svn-id: http://svn.automattic.com/wordpress/trunk@4811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 20:45:20 +00:00
ryan ce655b96b8 Typo fixes from mdawaffe. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-27 00:51:00 +00:00
markjaquith 8a678f3841 i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:06:18 +00:00
ryan bcc76b1f65 i18n fixes from nbachiyski. fixes #3470
git-svn-id: http://svn.automattic.com/wordpress/trunk@4646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-13 19:36:10 +00:00
markjaquith cb172fbe2f Sanitize all plugin metadata, for consistency. Props Viper007Bond. fixes #3396
git-svn-id: http://svn.automattic.com/wordpress/trunk@4540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-29 09:22:49 +00:00
ryan eda9021317 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 07:31:29 +00:00
matt 07126127e6 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: http://svn.automattic.com/wordpress/trunk@4478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 06:09:48 +00:00
ryan a25c8cb077 Add some plugin activation validation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 02:20:02 +00:00
matt c437b9c9b0 Some UI cleanups, changes, and various miscellany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 01:14:47 +00:00
markjaquith 357cff9ddc move plugin sorting (by Name) to get_plugins() so that it works for the Edit Plugins page too. fixes: #2412
git-svn-id: http://svn.automattic.com/wordpress/trunk@4325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 09:36:21 +00:00
markjaquith 3316a65f8e sort plugins by plugin name, for real. fixes #2412
git-svn-id: http://svn.automattic.com/wordpress/trunk@4322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 08:56:44 +00:00
markjaquith 7d037d255d edit link next to each plugin. Props David House. fixes #1657
git-svn-id: http://svn.automattic.com/wordpress/trunk@4313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 06:48:52 +00:00
ryan 43f36aab78 RTL enhancements from Sewar. #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-27 00:51:17 +00:00
ryan 7a032342b3 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: http://svn.automattic.com/wordpress/trunk@4202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 20:46:39 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan ff19f4b5a5 Use wp_redirect().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 05:38:56 +00:00
ryan 96c3f739a8 Update nonce action strings. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 23:08:05 +00:00
matt fdab6f4c1e Lots of style and admin tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@3770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-10 20:35:10 +00:00
ryan 3f57a94f4c Nonce from above. #2678
git-svn-id: http://svn.automattic.com/wordpress/trunk@3759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-02 22:36:06 +00:00
ryan dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan f5b9962831 uksort() not usort()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 09:44:17 +00:00
ryan 4c08bf3d7c Sort plugins by plugin name, not file name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 07:48:21 +00:00
ryan 7ff17cba43 Exit after sending headers. fixes #1917
git-svn-id: http://svn.automattic.com/wordpress/trunk@3365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:16:40 +00:00
ryan ece625403c i18n updates from nbachiyski. fixes #2069
git-svn-id: http://svn.automattic.com/wordpress/trunk@3295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 22:48:30 +00:00
ryan 8bf7f4c443 Actually remove deleted plugins from the active plugin list. This has been broken for ever. fixes #1709
git-svn-id: http://svn.automattic.com/wordpress/trunk@2932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-05 23:19:48 +00:00
matt 65546ba7a5 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: http://svn.automattic.com/wordpress/trunk@2762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-08 01:13:22 +00:00
matt 851ac5a414 Clean up plugins and dashboard
git-svn-id: http://svn.automattic.com/wordpress/trunk@2759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-07 10:45:06 +00:00
ryan cbce881c2b register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 21:53:26 +00:00
matt 552c4ad4b8 Usability hooks into wp.org
git-svn-id: http://svn.automattic.com/wordpress/trunk@2594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 11:37:36 +00:00
ryan 267d1c519b Active plugins array sanity check. If the array isn't an array, reset it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-04 02:48:18 +00:00
ryan 15209b94c2 Fix number formatting in dashboard stats for numbers > 999. http://mosquito.wordpress.org/view.php?id=1074 Hat tip: dougal
git-svn-id: http://svn.automattic.com/wordpress/trunk@2433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-11 16:53:16 +00:00
rboren 3f5d6b64f5 Embolden active plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 20:20:29 +00:00
saxmatt 50346fe5b0 HTML fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 23:09:46 +00:00
rboren 3627e4c953 Correct i18n string markup. Bug 502. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 17:28:53 +00:00
rboren a4c058f2c8 get_plugin_data() and get_plugins()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 02:29:45 +00:00
rboren 04786f267d 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: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
michelvaldrighi be1a61f241 fix for #317: part one, avoid activating the same plugin twice
git-svn-id: http://svn.automattic.com/wordpress/trunk@1711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-26 18:12:12 +00:00
saxmatt a4aa259156 Use array storage for plugins list.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 07:17:54 +00:00
rboren bacbd2a421 Fix spelling. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000036
git-svn-id: http://svn.automattic.com/wordpress/trunk@1419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 16:00:16 +00:00
michelvaldrighi 0dbe04e28e using check_admin_referer for plugin (de)activation
git-svn-id: http://svn.automattic.com/wordpress/trunk@1299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-17 20:16:54 +00:00
saxmatt cdc9a55ad9 Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 05:47:02 +00:00
saxmatt ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
rboren 3c2b90823d Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 23:10:07 +00:00
saxmatt 73b23e1568 Casting new line as literal rather than interpreted.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 08:11:05 +00:00
saxmatt 277e4b627e More l10n stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 19:46:11 +00:00
saxmatt 74c2872215 Plugin enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-16 02:24:37 +00:00
saxmatt 8ff85a7293 Only include .php files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-14 19:04:14 +00:00
saxmatt a40e500efd Show version and header bugfix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 21:04:36 +00:00
saxmatt e733249e69 Functional plugin implementation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 08:10:26 +00:00
saxmatt 790f6e50eb Initial plugin funcitonality checkin. Not done yet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 07:05:52 +00:00