WordPress.org

Make WordPress Core

Ticket #30054: plugin-phpdoc.patch

File plugin-phpdoc.patch, 812 bytes (added by Corphi, 6 years ago)
  • src/wp-admin/includes/plugin.php

     
    558558                        do_action( 'activate_plugin', $plugin, $network_wide );
    559559
    560560                        /**
    561                          * Fires as a specific plugin is being deactivated.
     561                         * Fires as a specific plugin is being activated.
    562562                         *
    563                          * This hook is the "deactivation" hook used internally by
    564                          * register_deactivation_hook(). The dynamic portion of the
     563                         * This hook is the "activation" hook used internally by
     564                         * register_activation_hook(). The dynamic portion of the
    565565                         * hook name, $plugin. refers to the plugin basename.
    566566                         *
    567567                         * If a plugin is silently activated (such as during an update),