Commit Graph

142 Commits

Author SHA1 Message Date
Ryan Boren 71bef9fe26 Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Peter Westwood 820991ac95 Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12636 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:41:13 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Peter Westwood 8427416edf Ensure that Title is always set for plugin data as it was before. see #8964.
git-svn-id: https://develop.svn.wordpress.org/trunk@12048 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 17:01:07 +00:00
Peter Westwood 9510a36835 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@12044 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:07:00 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Ryan Boren 30e0d4173f Improve inline documentation for register_setting(). Props filosofo. fixes #10368
git-svn-id: https://develop.svn.wordpress.org/trunk@11991 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:54:24 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Mark Jaquith 254df719da Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: https://develop.svn.wordpress.org/trunk@11966 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 04:15:37 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren 1649248a01 More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11909 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 14:43:45 +00:00
Peter Westwood 676d2e440f Make add_object_page() and add_utility_page() use add_menu_page() rather than duplicated code. Fixes #9942 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11856 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 21:00:52 +00:00
Andrew Ozz ba6403bb8c Correct icon_url over SSL in add_object_page(), props johnbillion, fixes #10412
git-svn-id: https://develop.svn.wordpress.org/trunk@11717 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-15 08:36:45 +00:00
Andrew Ozz c18cc9c051 Fix plugins descriptions localization, props Denis-de-Bernardy, fixes #10382
git-svn-id: https://develop.svn.wordpress.org/trunk@11716 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:54:03 +00:00
Ryan Boren 3078a66f60 Fix back-compat plugins page redirects. Props filosofo. fixes #10246 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11628 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 17:23:11 +00:00
Ryan Boren 508da6167d Revert oops
git-svn-id: https://develop.svn.wordpress.org/trunk@11603 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 06:08:03 +00:00
Ryan Boren 6550a221d7 Enforce incoming links item limit
git-svn-id: https://develop.svn.wordpress.org/trunk@11602 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 06:07:25 +00:00
Ryan Boren 8bc92a8d4f Require all plugin page requests (?page=) to be for registered plugins pages. Provides CYA for plugins that don't do enough cap checking. action requests not bound to a plugin page still go through.
git-svn-id: https://develop.svn.wordpress.org/trunk@11595 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-18 00:33:07 +00:00
Ryan Boren 1fc90bfc94 More menu fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@11592 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-17 19:50:38 +00:00
Ryan Boren ed53923a3b Menu fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@11565 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 00:22:53 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Ryan Boren 5a250e36ff Fix display of plugin update messages after bulk ops. Props DD32. fixes #9303
git-svn-id: https://develop.svn.wordpress.org/trunk@11207 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 20:48:46 +00:00
Mark Jaquith c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren aa9afc7810 Make sure plugin menu icons are delivered via https if is_ssl(). Props DD32. fixes #8901
git-svn-id: https://develop.svn.wordpress.org/trunk@11186 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 02:38:18 +00:00
Ryan Boren cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Peter Westwood 5db0851318 Support single line Template Name comment blocks for theme Templates and apply same cleanup to all header lines. Fixes #8497 props DD32 and Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11168 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 09:12:12 +00:00
Ryan Boren 3ce92cfb8a Cast to array to avoid warning. Props Denis-de-Bernardy, pamelatech. fixes #9116
git-svn-id: https://develop.svn.wordpress.org/trunk@11021 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 20:37:23 +00:00
Ryan Boren 603fba4ad4 consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875
git-svn-id: https://develop.svn.wordpress.org/trunk@11005 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-19 19:36:28 +00:00
Ryan Boren ff50150630 Fix translation of plugin metadata. Props DD32. fixes #9573
git-svn-id: https://develop.svn.wordpress.org/trunk@11002 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-19 18:45:09 +00:00
Ryan Boren 3cee48146f Fix missing titles for plugins without submenus. Props clwill. fixes #9146
git-svn-id: https://develop.svn.wordpress.org/trunk@10966 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 23:42:42 +00:00
Ryan Boren ac819a92ba delete_theme(). see #8678
git-svn-id: https://develop.svn.wordpress.org/trunk@10715 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 19:15:56 +00:00
Ryan Boren 26f689898c Allow editing all of a plugin's files. see #6732
git-svn-id: https://develop.svn.wordpress.org/trunk@10627 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 20:05:11 +00:00
Ryan Boren 260f87bd6e Deactivate plugins that don't have valid plugin headers. see #9164
git-svn-id: https://develop.svn.wordpress.org/trunk@10594 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 18:39:04 +00:00
Ryan Boren 7c9f38cf57 Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10393 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-21 19:02:15 +00:00
Andrew Ozz ab8822bdcd Cast to array to silence warnings from plugin added menus, props DD32, fixes #8782
git-svn-id: https://develop.svn.wordpress.org/trunk@10293 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-04 04:29:28 +00:00
Ryan Boren 58011e2257 user_can_access_admin_page() fix. Props arena. see #8535
git-svn-id: https://develop.svn.wordpress.org/trunk@10267 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 19:18:18 +00:00
Ryan Boren 7e7a7d04c0 Notice fix from apokalyptik
git-svn-id: https://develop.svn.wordpress.org/trunk@10225 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-18 22:26:03 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 987580e03f Fix warning. fixes #8448
git-svn-id: https://develop.svn.wordpress.org/trunk@10052 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 23:20:41 +00:00
Ryan Boren 85bb38adc9 Delete update_plugins when plugins are deleted. Props thinlight. fixes #8451
git-svn-id: https://develop.svn.wordpress.org/trunk@10038 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 18:39:11 +00:00
Ryan Boren 53412253b4 Don't reset if it has been explicitly set. Fixes active parent highliting. fixes #8421
git-svn-id: https://develop.svn.wordpress.org/trunk@9959 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-29 01:56:09 +00:00
Ryan Boren 7b9ac7eacc add_utility_page()
git-svn-id: https://develop.svn.wordpress.org/trunk@9949 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-28 19:34:49 +00:00
Ryan Boren ff3f697dbf Create Tools screen. fixes #8361
git-svn-id: https://develop.svn.wordpress.org/trunk@9929 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 21:11:25 +00:00
Ryan Boren 01972063c1 Default to edit submenu rather than add new.
git-svn-id: https://develop.svn.wordpress.org/trunk@9874 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-25 19:05:48 +00:00
Ryan Boren a7d7039e84 add_dashboard_page()
git-svn-id: https://develop.svn.wordpress.org/trunk@9760 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 19:30:50 +00:00
Ryan Boren 9ff0e361d6 submenu functions for the object top-levels
git-svn-id: https://develop.svn.wordpress.org/trunk@9693 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 20:53:43 +00:00
Andrew Ozz 521d3c0998 Consolidate six more js files
git-svn-id: https://develop.svn.wordpress.org/trunk@9631 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-12 09:35:50 +00:00
Ryan Boren d8ae9b1cd3 Remove dead line
git-svn-id: https://develop.svn.wordpress.org/trunk@9581 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-09 19:21:00 +00:00
Ryan Boren 6fc09cd86a Sort the menu before adding classes. see #7966
git-svn-id: https://develop.svn.wordpress.org/trunk@9580 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-09 19:20:38 +00:00
Andrew Ozz 4ebfcd94a5 Menu updates: single top level menus, B&W/color icons (sprite), fix for the Firefox bug of not firing mouseout on absolute positioned elements over textareas/text fields, scaling down properly for different user roles, includes patch by Ryan, fixes #7966
git-svn-id: https://develop.svn.wordpress.org/trunk@9578 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-09 14:54:39 +00:00
Ryan Boren 15d3bed52c add_object_page()
git-svn-id: https://develop.svn.wordpress.org/trunk@9537 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 22:46:58 +00:00
Andrew Ozz bf210006e8 Menu updates and fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9411 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-30 09:52:20 +00:00
Ryan Boren 42d6208061 get_plugin_data() back compat fixes from DD32. fixes #7479
git-svn-id: https://develop.svn.wordpress.org/trunk@9272 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 00:08:22 +00:00
Ryan Boren 34035fa80e Allow __FILE__ to be passed to activate_plugin()/deactivate_plugin(). Props DD32. fixes #7878
git-svn-id: https://develop.svn.wordpress.org/trunk@9271 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-21 23:55:58 +00:00
Ryan Boren f38fd1b3b6 Move whitelist functions to plugin.php. Add settings_fields().
git-svn-id: https://develop.svn.wordpress.org/trunk@9249 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-19 23:35:09 +00:00
Andrew Ozz 7ab970715d Admin menu: add generic icon, fix hover in IE, speed up response timing
git-svn-id: https://develop.svn.wordpress.org/trunk@9182 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-15 06:54:25 +00:00
Ryan Boren 9862c7f729 Menu fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9178 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 22:44:56 +00:00
Ryan Boren 0133304ecb Route add_management_page() to Tools menu
git-svn-id: https://develop.svn.wordpress.org/trunk@9050 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 00:20:14 +00:00
Ryan Boren 69a9da2c8e Hopeful menu parenting fix
git-svn-id: https://develop.svn.wordpress.org/trunk@8991 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-26 16:43:47 +00:00
Ryan Boren 3e43adeb6e phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@8912 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-17 00:40:10 +00:00
Ryan Boren 4533de26cf Menu fixes. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8735 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 04:27:00 +00:00
Ryan Boren 0920c3eb27 Menu fixes. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8734 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 00:54:21 +00:00
Ryan Boren 8da367ce9e Menu back-compat fixes. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8708 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-22 04:32:42 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 4ea763f026 Update since tags. Props santosj. fixes #5625
git-svn-id: https://develop.svn.wordpress.org/trunk@8587 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 04:15:03 +00:00
Ryan Boren 7d0bd55969 Plugin uninstall hooks from santosj. fixes #5625
git-svn-id: https://develop.svn.wordpress.org/trunk@8585 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 23:39:27 +00:00
Ryan Boren cf2daaf071 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: https://develop.svn.wordpress.org/trunk@8514 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 04:26:32 +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 611f9eda9f Performance improvments to get_plugin_data() from santosj. see #7372
git-svn-id: https://develop.svn.wordpress.org/trunk@8402 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-22 19:18:07 +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 9d4099ab2c Plugin metadata localization and get_plugin_dta() optimization from santosj. fixes #5651 #3089
git-svn-id: https://develop.svn.wordpress.org/trunk@8367 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-17 22:51:26 +00:00
Ryan Boren 8887dcc0a2 Notice fixes from jacobsantos. fixes #7255
git-svn-id: https://develop.svn.wordpress.org/trunk@8266 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-07 14:21:47 +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 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 0552e943ba Use is_plugin_active() and remove double searching. Props DD32. fixes #6332
git-svn-id: https://develop.svn.wordpress.org/trunk@7488 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 16:36:05 +00:00
Ryan Boren db66d57993 Deactivate plugins during plugin update. Props DD32. see #6262
git-svn-id: https://develop.svn.wordpress.org/trunk@7465 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 23:02:00 +00:00
Mark Jaquith 015c91abda Better plugin-deactivation array-fu from Denis-de-Bernardy. fixes #6332
git-svn-id: https://develop.svn.wordpress.org/trunk@7456 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 19:34:27 +00:00
Ryan Boren ae8bcdd504 deactivate_plugins() fix from DD32. fixes #6309
git-svn-id: https://develop.svn.wordpress.org/trunk@7416 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 17:24:44 +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 721b8c930b Remove unused variables. Props DD32. fixes #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:29:05 +00:00
Ryan Boren d5ed4b3d7d has_action and has_filter. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6320 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 04:30:11 +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
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Mark Jaquith 10754e7332 trim() plugin URL before deciding whether to show a link. props Gary King. fixes #4633
git-svn-id: https://develop.svn.wordpress.org/trunk@6020 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 16:55:10 +00:00
Ryan Boren 3e5d2230d2 Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: https://develop.svn.wordpress.org/trunk@5867 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:58:33 +00:00
Ryan Boren aa1d4b1d01 Return hook as null instead of empty string. Props DD32. fixes #4639
git-svn-id: https://develop.svn.wordpress.org/trunk@5803 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:59:05 +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 e2513b5643 Keep greedy regex's in control. fixes #4165
git-svn-id: https://develop.svn.wordpress.org/trunk@5630 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:02:06 +00:00
Ryan Boren 09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00