Ticket #5625: 5625.8586.diff
File 5625.8586.diff, 1.0 KB (added by , 17 years ago) |
---|
-
wp-admin/includes/plugin.php
343 343 /** 344 344 * Whether the plugin can be uninstalled. 345 345 * 346 * @since {@internal Version Unknown}}346 * @since 2.7 347 347 * 348 348 * @param string $plugin Plugin path to check. 349 349 * @return bool Whether plugin can be uninstalled. … … 363 363 * 364 364 * Calls the uninstall hook, if it is available. 365 365 * 366 * @since 2.7 367 * 366 368 * @param string $plugin Relative plugin path from Plugin Directory. 367 369 */ 368 370 function uninstall_plugin($plugin) { -
wp-includes/plugin.php
528 528 * should always check for the 'WP_UNINSTALLING_PLUGIN' constant, before 529 529 * executing. 530 530 * 531 * @since 2.7 532 * 531 533 * @param string $file 532 534 * @param callback $callback The callback to run when the hook is called. 533 535 */