WordPress.org

Make WordPress Core

Ticket #5625: 5625.8586.diff

File 5625.8586.diff, 1.0 KB (added by santosj, 10 years ago)

Set @since phpdoc tags. Based off of r8586

  • wp-admin/includes/plugin.php

     
    343343/**
    344344 * Whether the plugin can be uninstalled.
    345345 *
    346  * @since {@internal Version Unknown}}
     346 * @since 2.7
    347347 *
    348348 * @param string $plugin Plugin path to check.
    349349 * @return bool Whether plugin can be uninstalled.
     
    363363 *
    364364 * Calls the uninstall hook, if it is available.
    365365 *
     366 * @since 2.7
     367 *
    366368 * @param string $plugin Relative plugin path from Plugin Directory.
    367369 */
    368370function uninstall_plugin($plugin) {
  • wp-includes/plugin.php

     
    528528 * should always check for the 'WP_UNINSTALLING_PLUGIN' constant, before
    529529 * executing.
    530530 *
     531 * @since 2.7
     532 *
    531533 * @param string $file
    532534 * @param callback $callback The callback to run when the hook is called.
    533535 */