Commit Graph

218 Commits

Author SHA1 Message Date
ryan
12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
westi
c8c528f18e 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: http://svn.automattic.com/wordpress/trunk@11168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 09:12:12 +00:00
ryan
f22f7e491d Cast to array to avoid warning. Props Denis-de-Bernardy, pamelatech. fixes #9116
git-svn-id: http://svn.automattic.com/wordpress/trunk@11021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 20:37:23 +00:00
ryan
1cd542a5e2 consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875
git-svn-id: http://svn.automattic.com/wordpress/trunk@11005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 19:36:28 +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
b50c964869 Fix missing titles for plugins without submenus. Props clwill. fixes #9146
git-svn-id: http://svn.automattic.com/wordpress/trunk@10966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 23:42:42 +00:00
ryan
b72c13c912 delete_theme(). see #8678
git-svn-id: http://svn.automattic.com/wordpress/trunk@10715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 19:15:56 +00:00
ryan
dc1602f411 Allow editing all of a plugin's files. see #6732
git-svn-id: http://svn.automattic.com/wordpress/trunk@10627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 20:05:11 +00:00
ryan
ff2e6c8f34 Deactivate plugins that don't have valid plugin headers. see #9164
git-svn-id: http://svn.automattic.com/wordpress/trunk@10594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 18:39:04 +00:00
ryan
7c6f70ba9c Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 19:02:15 +00:00
azaozz
6d1a60e14c Cast to array to silence warnings from plugin added menus, props DD32, fixes #8782
git-svn-id: http://svn.automattic.com/wordpress/trunk@10293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 04:29:28 +00:00
ryan
331e05ee74 user_can_access_admin_page() fix. Props arena. see #8535
git-svn-id: http://svn.automattic.com/wordpress/trunk@10267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 19:18:18 +00:00
ryan
b117040958 Notice fix from apokalyptik
git-svn-id: http://svn.automattic.com/wordpress/trunk@10225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 22:26:03 +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
ryan
6a9c462d33 Fix warning. fixes #8448
git-svn-id: http://svn.automattic.com/wordpress/trunk@10052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 23:20:41 +00:00
ryan
fd5a7d8a18 Delete update_plugins when plugins are deleted. Props thinlight. fixes #8451
git-svn-id: http://svn.automattic.com/wordpress/trunk@10038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 18:39:11 +00:00
ryan
010f0ceba1 Don't reset if it has been explicitly set. Fixes active parent highliting. fixes #8421
git-svn-id: http://svn.automattic.com/wordpress/trunk@9959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 01:56:09 +00:00
ryan
7bd34b2e43 add_utility_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 19:34:49 +00:00
ryan
7138d5af58 Create Tools screen. fixes #8361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:11:25 +00:00
ryan
60fb050f9c Default to edit submenu rather than add new.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:05:48 +00:00
ryan
19e9168c84 add_dashboard_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 19:30:50 +00:00
ryan
5d179b7372 submenu functions for the object top-levels
git-svn-id: http://svn.automattic.com/wordpress/trunk@9693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 20:53:43 +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
d2cdebd6cf Remove dead line
git-svn-id: http://svn.automattic.com/wordpress/trunk@9581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 19:21:00 +00:00
ryan
b10351e5c6 Sort the menu before adding classes. see #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 19:20:38 +00:00
azaozz
6b99a452d1 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: http://svn.automattic.com/wordpress/trunk@9578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 14:54:39 +00:00
ryan
908fbae34c add_object_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 22:46:58 +00:00
azaozz
a1b7628ee8 Menu updates and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 09:52:20 +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
ryan
bffd07f0a7 Allow __FILE__ to be passed to activate_plugin()/deactivate_plugin(). Props DD32. fixes #7878
git-svn-id: http://svn.automattic.com/wordpress/trunk@9271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 23:55:58 +00:00
ryan
91f0787cfb Move whitelist functions to plugin.php. Add settings_fields().
git-svn-id: http://svn.automattic.com/wordpress/trunk@9249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-19 23:35:09 +00:00
azaozz
546ef3ed15 Admin menu: add generic icon, fix hover in IE, speed up response timing
git-svn-id: http://svn.automattic.com/wordpress/trunk@9182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 06:54:25 +00:00
ryan
79656f6382 Menu fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 22:44:56 +00:00
ryan
a5f7935d8b Route add_management_page() to Tools menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 00:20:14 +00:00
ryan
677f7ca342 Hopeful menu parenting fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@8991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 16:43:47 +00:00
ryan
e3f6b2b271 phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@8912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:40:10 +00:00
ryan
aa37570238 Menu fixes. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 04:27:00 +00:00
ryan
d871525f10 Menu fixes. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 00:54:21 +00:00
ryan
417d768c10 Menu back-compat fixes. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 04:32:42 +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
0f8d8597c3 Update since tags. Props santosj. fixes #5625
git-svn-id: http://svn.automattic.com/wordpress/trunk@8587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 04:15:03 +00:00
ryan
d7cc99037f Plugin uninstall hooks from santosj. fixes #5625
git-svn-id: http://svn.automattic.com/wordpress/trunk@8585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 23:39:27 +00:00
ryan
06a67ae8d2 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: http://svn.automattic.com/wordpress/trunk@8514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 04:26:32 +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
0ece55eb7d Performance improvments to get_plugin_data() from santosj. see #7372
git-svn-id: http://svn.automattic.com/wordpress/trunk@8402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:18:07 +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
bd434383f7 Plugin metadata localization and get_plugin_dta() optimization from santosj. fixes #5651 #3089
git-svn-id: http://svn.automattic.com/wordpress/trunk@8367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-17 22:51:26 +00:00
ryan
4957f5a4cc Notice fixes from jacobsantos. fixes #7255
git-svn-id: http://svn.automattic.com/wordpress/trunk@8266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-07 14:21:47 +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
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
0590b75eec Use is_plugin_active() and remove double searching. Props DD32. fixes #6332
git-svn-id: http://svn.automattic.com/wordpress/trunk@7488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:36:05 +00:00
ryan
1e11a54317 Deactivate plugins during plugin update. Props DD32. see #6262
git-svn-id: http://svn.automattic.com/wordpress/trunk@7465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:02:00 +00:00
markjaquith
48da5c40ad Better plugin-deactivation array-fu from Denis-de-Bernardy. fixes #6332
git-svn-id: http://svn.automattic.com/wordpress/trunk@7456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 19:34:27 +00:00
ryan
06333bf7de deactivate_plugins() fix from DD32. fixes #6309
git-svn-id: http://svn.automattic.com/wordpress/trunk@7416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 17:24:44 +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
dab1c792c7 Remove unused variables. Props DD32. fixes #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:29:05 +00:00
ryan
1e320a469e has_action and has_filter. see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 04:30:11 +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
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
markjaquith
6cfdd1934b trim() plugin URL before deciding whether to show a link. props Gary King. fixes #4633
git-svn-id: http://svn.automattic.com/wordpress/trunk@6020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:55:10 +00:00
ryan
dc1c54a35c Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: http://svn.automattic.com/wordpress/trunk@5867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:58:33 +00:00
ryan
05c0d6840b Return hook as null instead of empty string. Props DD32. fixes #4639
git-svn-id: http://svn.automattic.com/wordpress/trunk@5803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:59:05 +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
c927ae3f37 Keep greedy regex's in control. fixes #4165
git-svn-id: http://svn.automattic.com/wordpress/trunk@5630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:02:06 +00:00
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00