Commit Graph

377 Commits

Author SHA1 Message Date
ryan 5d2365a499 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:39:12 +00:00
dd32 01f0afcd21 First scratch at Bulk plugin upgrade from Plugins page. Props nacin for cleanups. See #11542
git-svn-id: http://svn.automattic.com/wordpress/trunk@12832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 06:53:47 +00:00
ryan 94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
ryan 8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
ryan 05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
wpmuguru 9d2762f279 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 02:02:19 +00:00
ryan 166435891c Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
westi 197cdd2bbb Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:41:13 +00:00
ryan dbe9b17271 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:17:13 +00:00
ryan 45ec04e3e9 Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
azaozz 4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
azaozz 2d8cf34e49 Do not stop plugin activation due to E_DEPRECATED errors in php 5.3, props Denis-de-Bernardy, fixes #11250
git-svn-id: http://svn.automattic.com/wordpress/trunk@12383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 09:20:07 +00:00
ryan 657aa5adc3 Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: http://svn.automattic.com/wordpress/trunk@12375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:14:43 +00:00
azaozz ae20d06e94 Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: http://svn.automattic.com/wordpress/trunk@12317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 01:43:49 +00:00
ryan c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
ryan 8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan a8890b9160 Add some CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:12:17 +00:00
azaozz 571964a96b H2 "Add New" buttons for the main screens
git-svn-id: http://svn.automattic.com/wordpress/trunk@11554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-12 03:20:16 +00:00
ryan 3dce6ba3fe Validation fix. Props Harish. fixes #10049
git-svn-id: http://svn.automattic.com/wordpress/trunk@11527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 14:39:34 +00:00
azaozz 4d32d869c8 Adds the bulk actions to the bottom of the plugins listing table and other fixes, props dd32, fixes #9838
git-svn-id: http://svn.automattic.com/wordpress/trunk@11474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-28 11:02:16 +00:00
ryan 2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
azaozz c9ce42c8a4 Fix styling for the plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 09:40:11 +00:00
azaozz a303904bd6 Some more styling for the plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 01:27:34 +00:00
ryan ebd479748b Move visit plugin site link from actions to meta. see #9849
git-svn-id: http://svn.automattic.com/wordpress/trunk@11389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 22:17:58 +00:00
ryan fa2c456b29 Add plugin_row_meta filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@11385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:56:42 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
westi afcaa4b48d Add an action link to allow for plugins to be deleted individually. Also switch to storing the deletion information and redirecting before displaying. Fixes #9835 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-17 09:39:32 +00:00
ryan 5f969d1034 Incorporate version into description. Put version, and author link beneath description (possibly incorporate other meta here).
git-svn-id: http://svn.automattic.com/wordpress/trunk@11368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 19:45:31 +00:00
ryan c84945ceee Always show action links for plugin rows. Move offsite links off of plugin name to new 'View Site' action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 19:30:08 +00:00
ryan 825b4c3b3a Revert [11307]. fixes #9842
git-svn-id: http://svn.automattic.com/wordpress/trunk@11363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 17:19:30 +00:00
azaozz 360720f615 Style tweaks for plugins delete confirmation page, props Simek, fixes #9799
git-svn-id: http://svn.automattic.com/wordpress/trunk@11361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 07:09:03 +00:00
ryan bcc453a997 Default plugins per page to 999
git-svn-id: http://svn.automattic.com/wordpress/trunk@11314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 04:26:40 +00:00
markjaquith bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
ryan 5dfb63c15b Sort active plugins before inactive plugins in all plugins list
git-svn-id: http://svn.automattic.com/wordpress/trunk@11307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 17:32:57 +00:00
ryan 390b263242 Remove intro
git-svn-id: http://svn.automattic.com/wordpress/trunk@11261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 05:19:18 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan 5f7de2a553 Plural contexts. Props nbachiyski. fixes #8128
git-svn-id: http://svn.automattic.com/wordpress/trunk@11137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 16:22:14 +00:00
ryan 9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan db80f0e778 Don't remember search in last view. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 17:56:38 +00:00
ryan c1e160a715 Update plugins leader text
git-svn-id: http://svn.automattic.com/wordpress/trunk@11042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 01:29:49 +00:00
ryan 8f98c5d7cd Fix all link. Props mtekk. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 22:57:23 +00:00
ryan 4e05be3860 Remember last view for plugins page. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 20:38:17 +00:00
ryan 1a17f1963e Remember status and page when redirecting. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 19:17:44 +00:00
ryan e8285dc491 Add per page screen option to plugins page. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 06:49:53 +00:00
ryan dba5368640 Fix bulk action lists. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 19:23:33 +00:00
ryan a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan c72dd79062 Show actions based on plugin active status. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 18:53:05 +00:00
ryan dd5ea16c6f Plugin search and paging. Props DD32. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 18:50:22 +00:00
ryan b6caa91300 Fix translation of plugin metadata. Props DD32. fixes #9573
git-svn-id: http://svn.automattic.com/wordpress/trunk@11002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 18:45:09 +00:00
ryan 73ee8e006d Move leader text to contextual help. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 01:27:18 +00:00
ryan 75c82cab75 Add filter showing all plugins that have an upgrade available. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 01:22:02 +00:00
ryan 86695c7c5f Add plugin filter by status. Move help verbage to contextual help. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@10999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 01:11:13 +00:00
ryan a1aeb4a1f2 Use comments_open() and pings_open() in packaged themes. Props coffee2code. fixes #9556
git-svn-id: http://svn.automattic.com/wordpress/trunk@10978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 05:30:09 +00:00
azaozz b9c19736ff Remove unused code from wp-admin/plugins.php, props DD32, fixes #9454
git-svn-id: http://svn.automattic.com/wordpress/trunk@10867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 11:15:39 +00:00
ryan 98462ab1b6 Don't show already installed plugins in the Plugins dashboard widget. Props Viper007Bond. fixes #8781
git-svn-id: http://svn.automattic.com/wordpress/trunk@10738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-07 02:07:24 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
azaozz 0927fbcc0d Action -> Bulk Action for manage screens, props FFEMTcJ, fixes #8375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:57:56 +00:00
azaozz e7ac7d001b Remove "Danger!" red from Cancel links and Deactivate plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@9941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 07:35:33 +00:00
westi 97bdf396f4 Sync arguments to plugin hooks to enable same function to be hooked on to both to enable backward compatible plugins. Fixes #8365 props strider72.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 15:23:51 +00:00
azaozz 7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
azaozz a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
azaozz 7e200d589d Consolidate six more js files
git-svn-id: http://svn.automattic.com/wordpress/trunk@9631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 09:35:50 +00:00
ryan 81f671bb73 Validation fixes from Simek. fixes #8139
git-svn-id: http://svn.automattic.com/wordpress/trunk@9592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:49:00 +00:00
azaozz 0be38b6def Add thickbox in plugins.php, fixes #8090
git-svn-id: http://svn.automattic.com/wordpress/trunk@9562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-07 22:11:14 +00:00
azaozz 36ebfb1ada Several small fixes: edit-category-form, admin-footer, plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@9538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 22:52:59 +00:00
westi bb7249cffe Correct the actions dropdowns for the different contexts. Fixes #7974 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 22:06:58 +00:00
ryan f68bd416e8 Fix plugin activation error reporting. Props DD32. fixes #7671
git-svn-id: http://svn.automattic.com/wordpress/trunk@9352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 06:33:33 +00:00
westi c21aa4f3cf Plugins page actions dropdowns.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 19:14:47 +00:00
azaozz ee9c9b86cf New buttons and styling for all "management" pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 18:25:46 +00:00
ryan 58d9c20de5 use activate_plugin for error scraping, pass full WP_Error object to wp_die(), whitespace cleanups. Props DD32. fixes #7671
git-svn-id: http://svn.automattic.com/wordpress/trunk@9315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 05:47:55 +00:00
ryan 574bc847f3 get_plugin_data() back compat fixes from DD32. fixes #7479
git-svn-id: http://svn.automattic.com/wordpress/trunk@9272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 00:08:22 +00:00
markjaquith 4d2d655490 Covering our XSS bases
git-svn-id: http://svn.automattic.com/wordpress/trunk@9233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:06:22 +00:00
markjaquith 61f911c42e Bring back the H2s. Rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:02:03 +00:00
azaozz 707dabfa7f HTML validation fixes, props Viper007Bond
git-svn-id: http://svn.automattic.com/wordpress/trunk@9223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 03:49:43 +00:00
westi e04f473580 Add some plugin specific hooks to the plugin management screen. Fixes #7856 props strider72.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-11 21:33:14 +00:00
ryan 9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
azaozz 4acbfa76ec Reposition the Search and Filter. Brings the top of the screen closer to the wireframes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-03 00:13:12 +00:00
ryan ea0ce44d87 h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 22:06:23 +00:00
azaozz 6cd6f6d9f8 Add table footers and action selects at the bottom
git-svn-id: http://svn.automattic.com/wordpress/trunk@9028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-29 09:26:21 +00:00
azaozz 339e87dc5c Batch editing, first cut, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 13:42:34 +00:00
westi cf7387ec40 Make it possible to clear the recently active plugins list. Fixes #7613 props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 20:55:48 +00:00
ryan d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
ryan 113c014920 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
ryan 35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan 5e87cb848d Plugin install fixes from DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 17:06:42 +00:00
westi 35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
westi 4134153d89 Avoid possible XSS when displaying the list of invalid plugins fixes #6871 for trunk props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:38:40 +00:00
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