nacin
dcb200efc9
Fix order of @param's for deactivate_plugins(). props Viper007Bond, fixes #21269 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 15:09:40 +00:00
nacin
efb07c689e
Back compat for plugins looking for networkwide=1 during a plugin activation hook.
...
Proper way to detect this: An activation hook callback receives (bool) $network_wide as the first argument.
see #20995 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:32:34 +00:00
nacin
e098306abe
Correct logic in deactivate_plugins() where network_wide = null. props SergeyBiryukov. fixes #20497 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-21 00:45:53 +00:00
nacin
c23bf21079
Clean up plugins.php with regards to recently edited files, deactivations, and the network admin. see #20468 , #20104 .
...
* Limit recently_activated to the site dashboard, and properly remove bulk-activated plugins from the array.
* Remove code used from before the network admin, such as the unused 'network' plugin_status.
* Don't try to deactivate a plugin already deactivated.
* Use more specific caps (manage_network_plugins) rather than is_super_admin().
git-svn-id: http://svn.automattic.com/wordpress/trunk@20525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 03:41:29 +00:00
nacin
3184f9891a
Clean up get_plugin_data() and _get_plugin_data_markup_translate(), and standardize sanitization. fixes #20266 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 23:04:59 +00:00
nacin
4a9e14a011
Allow bundled plugin headers to be translated. see #19597 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:26:08 +00:00
ryan
e3b46b25d3
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan
83b131f8e3
User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
ryan
616c35e71c
One newline is enough.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
ryan
340e93324c
Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-14 17:36:38 +00:00
ryan
07ff8b216b
Use one space, not two, after trailing punctuation. fixes #19537
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
duck_
ba7651277e
Revert r18887 due to back compat issues. Fixes #18914 .
...
For example 'intval' couldn't be used as a sanitisation callback.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 16:35:33 +00:00
markjaquith
bc3fc076e1
Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 17:48:41 +00:00
nacin
9a023b8378
Document that add_submenu_page() might return false if ! current_user_can(). see #17677 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 23:30:46 +00:00
ryan
3fc5956921
s/seperator/separator/. Props brandonburke. fixes #17610
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 19:58:36 +00:00
dd32
efa709d1b5
Move closedir() to better locations to prevent the need for error suppression, prevents suppressed Warnings/Notices to be thrown during Plugin Installation. Fixes #16547
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 09:07:56 +00:00
nacin
49887cdd9a
Offer the standard tags for the plugin name datapoint. props Kawauso, fixes #16241 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 07:26:45 +00:00
nacin
48c84b91de
Remove a random nacin typo introduced in 3.0. see [12976], #16055 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 23:58:02 +00:00
ryan
587ea006b5
Translations in title attributes require esc_attr().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:17:58 +00:00
scribu
1474c1a64a
Add @return to add_*menu_page() docs. Fixes #15747
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 06:54:48 +00:00
nacin
adbcaa8019
Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 04:02:37 +00:00
nacin
99d02e7d54
Set AuthorName even when no translation or markup is processed. see #15662 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 21:18:18 +00:00
nacin
ebcda1964d
Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 20:49:54 +00:00
ryan
3f72e340d6
Update since phpdoc. Props demetris. fixes #15445
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
ryan
847499e531
Pinking shears
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
nacin
5f4a583fb1
Remove more create_function calls. props huichen, see #14424 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00
nacin
771de1c49e
Kill a create_function by introducing is_plugin_inactive. see #14424 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:21:04 +00:00
westi
4215d8be2c
Blankity Blank. Fixes #15380 props arena.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 20:54:56 +00:00
scribu
f7ba3fd70d
Prevent double inclusion of plugin when already activated on main site. See #14435
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 23:54:43 +00:00
scribu
80ce121521
Don't call activation hooks when upgrading. Props joelhardi for initial patch. See #14915
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 13:40:14 +00:00
scribu
1482db4c2d
Pass $network_wide flag to de/activation hooks. See #14170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 13:20:53 +00:00
scribu
9228d56df5
Revert part of [15753]. See [12914]. See #14666
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 22:58:45 +00:00
scribu
fcd2d49a50
Introduce remove_menu_page() and remove_submenu_page(). Fixes #12718
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 22:35:31 +00:00
scribu
307790b5ff
Fix irrelevant error message on plugin activation again. Props andy. Fixes #7671
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 15:27:47 +00:00
scribu
00a9e39bcf
Fix delete plugin links. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-08 12:15:50 +00:00
nacin
5a20c05d27
Phpdoc argument/@param cleanups. props duck_, see #14783 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
nacin
77b0788dc8
Only ask for active_sitewide_plugins in deactivate_plugins() if we're running multisite.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-07 20:35:51 +00:00
nacin
eb4c72e7d9
Use add_query_arg() in menu_page_url(). fixes #13923 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 20:08:58 +00:00
ryan
5ecd1f31f2
Trim trailing whitespace.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 20:19:35 +00:00
westi
3061e08ec6
Introduce menu_page_url() for plugins to use to get the url for the pages they have added. Fixes #13829 props o'malley for all the cuteness.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:38:41 +00:00
ryan
5d5cb6e483
Allow plugin activation even if plugin generates extra output. Make warning more informative. fixes #13585
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 00:18:00 +00:00
nacin
d91623d3d0
Fix double-tabbing in get_dropins.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:41:14 +00:00
nacin
f708a1bf38
Apply [14540] to get_mu_plugins and get_dropins. fixes #13322 , props Miloslav.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:40:15 +00:00
ryan
45e43282ed
Don't use closed dir handle. Props Miloslav. fixes #13322
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 16:06:46 +00:00
ryan
172aa06718
Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan
91354eefee
Escape links by default. Props alexkingorg. see #13051
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
e64a657575
s/blog/site/ in even more places. props PeteMall, see #11644 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
dd32
abcbdf58b2
Escape/texturize Admin menu titles. Fixes page titles such as "Foo & Bar" not being entity encoded. Also includes some basic whitespace/standards cleanup to a related function. Fixes #12039
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:38:47 +00:00
dd32
688ae7577e
Check $pagenow?post_type=$typenow for submenu titles, Fixes page titles for plugin pages added to custom post_type's. Fixes #12985
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 02:56:00 +00:00
nacin
e507f32dd4
Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 23:03:31 +00:00
nacin
30d6eb32c6
Remove redundant isset() and empty() checks.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
nacin
8c8bf5039f
Remove unnecessary ternary operators such as (expr) ? true : false.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
nacin
65e9cd7eb1
Add deprecated notices for Options > Misc settings registrations. see #12437
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 17:32:27 +00:00
dd32
5a5064ae61
Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:50:43 +00:00
ryan
e25a65b36a
Trim trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
ryan
aa47e83dee
Fix submenus for post types. Props TobiasBg. see #12453
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 00:15:55 +00:00
nacin
00706d68ce
Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:09:49 +00:00
nacin
020fde42ee
Show must-use plugins and drop-ins in the plugins admin panel. First pass. See #11861
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 21:16:14 +00:00
markjaquith
082eca5c48
Detect plugin output on activation, as well as fatal errors. props miqrogroove. fixes #12089
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 03:44:20 +00:00
nacin
f8ca7dfd10
Add "Network Activate" option to Bulk Actions menu on plugins.php. See #11644 , #12139
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 14:46:38 +00:00
dd32
c0f5c80ab4
Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 04:04:01 +00:00
ryan
e55a20f862
Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:33:53 +00:00
wpmuguru
4563531639
Change Network Only to Network for network plugins, props nacin, see #12139
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 18:33:35 +00:00
ryan
df305b7893
Network plugin activation cleanup. Props nacin. see #12139
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 18:10:30 +00:00
wpmuguru
4b7ca50b8d
add support for network only to identify network plugins, see #12139
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 16:33:35 +00:00
ryan
3894489a5f
Sitewide plugins cleanup. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:50:36 +00:00
ryan
1592ca9ff2
Cleanup network plugin loading. Props nacin. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:41:17 +00:00
westi
1d30c846c6
Add phpdoc to all the add_*_page functions.
...
Rename arguments to empasise that people should be using Capabilities not User Levels and named hooks not __FILE__.
See #12101 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@12914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:36:00 +00:00
westi
398a8ca6ac
Fix add_pages_page to use the correct parent menu. Fixes #12100 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:16:00 +00:00
ryan
363da801f5
Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 21:45:32 +00:00
westi
3a5e6ea7d0
Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 20:20:18 +00:00
ryan
699387f747
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
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
ryan
9469c9f02a
Deprecate mu_options. Integrate directly into options.php. see #11644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 21:33:49 +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
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
6da55f7792
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +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
da89de4958
More custom post type support. Props scribu. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
westi
d303a241d1
Ensure that Title is always set for plugin data as it was before. see #8964 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 17:01:07 +00:00
westi
c26e33b939
Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 21:07:00 +00:00
ryan
bf96c01551
Associate subdirector of whitespace trims trailing whites with pinking shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:26:21 +00:00
ryan
966af43a1d
Improve inline documentation for register_setting(). Props filosofo. fixes #10368
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:54:24 +00:00
ryan
57f26bb58e
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
markjaquith
c664315b01
Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 04:15:37 +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
7886fac111
More add/delete/update actions. Props Demitrious Kelly. see #10750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 14:43:45 +00:00
westi
ffc53b56ea
Make add_object_page() and add_utility_page() use add_menu_page() rather than duplicated code. Fixes #9942 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 21:00:52 +00:00
azaozz
e67872f12e
Correct icon_url over SSL in add_object_page(), props johnbillion, fixes #10412
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-15 08:36:45 +00:00
azaozz
93b0be9b0c
Fix plugins descriptions localization, props Denis-de-Bernardy, fixes #10382
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:54:03 +00:00
ryan
a64bd28ddb
Fix back-compat plugins page redirects. Props filosofo. fixes #10246 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 17:23:11 +00:00
ryan
2f20a9693c
Revert oops
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-19 06:08:03 +00:00
ryan
5f37d31754
Enforce incoming links item limit
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-19 06:07:25 +00:00
ryan
947f1ce2c6
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: http://svn.automattic.com/wordpress/trunk@11595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-18 00:33:07 +00:00
ryan
71f507ac47
More menu fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-17 19:50:38 +00:00
ryan
4e6f054b47
Menu fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 00:22:53 +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
ryan
f6402b713a
Fix display of plugin update messages after bulk ops. Props DD32. fixes #9303
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 20:48:46 +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
7186506de4
Make sure plugin menu icons are delivered via https if is_ssl(). Props DD32. fixes #8901
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 02:38:18 +00:00
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