Changeset 12670
- Timestamp:
- 01/08/2010 08:15:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r12632 r12670 776 776 return true; 777 777 } 778 add_action( 'activate_' . $_GET['plugin'], 'activate_sitewide_plugin' ); 778 779 // @todo Throws warning if plugin is not set. Kinda janky. 780 //add_action( 'activate_' . $_GET['plugin'], 'activate_sitewide_plugin' ); 779 781 780 782 /** … … 801 803 return true; 802 804 } 803 add_action( 'deactivate_' . $_GET['plugin'], 'deactivate_sitewide_plugin' ); 805 // @todo Throws warning if plugin is not set. Kinda janky. 806 //add_action( 'deactivate_' . $_GET['plugin'], 'deactivate_sitewide_plugin' ); 804 807 add_action( 'deactivate_invalid_plugin', 'deactivate_sitewide_plugin' ); 805 808 … … 1010 1013 } 1011 1014 } 1012 add_action( 'activate_' . $_GET['plugin'], 'check_is_wpmu_plugin_on_activate' ); 1015 // @todo Throws warning if plugin is not set. Kinda janky. 1016 //add_action( 'activate_' . $_GET['plugin'], 'check_is_wpmu_plugin_on_activate' ); 1013 1017 1014 1018 /**
Note: See TracChangeset
for help on using the changeset viewer.