Changeset 10594
- Timestamp:
- 02/19/2009 06:39:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r10393 r10594 477 477 return new WP_Error('plugin_not_found', __('Plugin file does not exist.')); 478 478 479 $installed_plugins = get_plugins(); 480 if ( ! isset($installed_plugins[$plugin]) ) 481 return new WP_Error('no_plugin_header', __('The plugin does not have a valid header.')); 479 482 return 0; 480 483 }
Note: See TracChangeset
for help on using the changeset viewer.