Make WordPress Core


Ignore:
Timestamp:
09/18/2013 11:57:18 AM (13 years ago)
Author:
SergeyBiryukov
Message:

Correct @since for hooks in wp-admin/includes/plugin.php. see #25229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r25474 r25477  
    544544                         * Fires before a plugin is activated in activate_plugin() when the $silent parameter is false
    545545                         *
    546                          * @since 3.0.2
     546                         * @since 2.9.0
    547547                         *
    548                          * @param string $plugin     Basename of the plugin path from {@see activate_plugin()}
    549                          * @param bool $network_wide Argument from {@see activate_plugin()}
     548                         * @param string $plugin       Basename of the plugin path from {@see activate_plugin()}.
     549                         * @param bool   $network_wide Argument from {@see activate_plugin()}.
    550550                         */
    551551                        do_action( 'activate_plugin', $plugin, $network_wide );
     
    557557                         * activate_plugin() to create a dynamically named action.
    558558                         *
    559                          * @since 3.0.2
     559                         * @since 2.0.0
    560560                         *
    561                          * @param bool $network_wide Argument from {@see activate_plugin()}
     561                         * @param bool $network_wide Argument from {@see activate_plugin()}.
    562562                         */
    563563                        do_action( 'activate_' . $plugin, $network_wide );
     
    577577                         * Fires after a plugin has been activated in activate_plugin() when the $silent parameter is false
    578578                         *
    579                          * @since 3.0.2
     579                         * @since 2.9.0
    580580                         *
    581                          * @param string $plugin     Basename of the plugin path from {@see activate_plugin()}
    582                          * @param bool $network_wide Argument from {@see activate_plugin()}
     581                         * @param string $plugin       Basename of the plugin path from {@see activate_plugin()}.
     582                         * @param bool   $network_wide Argument from {@see activate_plugin()}.
    583583                         */
    584584                        do_action( 'activated_plugin', $plugin, $network_wide );
     
    626626                         * and when the $silent parameter is false.
    627627                         *
    628                          * @since 3.3.2
     628                         * @since 2.9.0
    629629                         *
    630                          * @param string $plugin     Basename of the plugin path from {@see activate_plugin()}
    631                          * @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()}
    632                          * is true and the plugin is active for the network.
     630                         * @param string $plugin               Basename of the plugin path from {@see activate_plugin()}.
     631                         * @param bool   $network_deactivating True if $network_wide passed in {@see deactivate_plugin()} is true and the plugin is active for the network.
    633632                         */
    634633                        do_action( 'deactivate_plugin', $plugin, $network_deactivating );
     
    659658                         * to create a dynamically named action.
    660659                         *
    661                          * @since 3.3.2
     660                         * @since 2.0.0
    662661                         *
    663                          * @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()}
    664                          * is true and the plugin is active for the network.
     662                         * @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()} is true and the plugin is active for the network.
    665663                         */
    666664                        do_action( 'deactivate_' . $plugin, $network_deactivating );
     
    670668                         * and when the $silent parameter is false.
    671669                         *
    672                          * @since 3.3.2
     670                         * @since 2.9.0
    673671                         *
    674                          * @param string $plugin             Basename of the plugin path from {@see activate_plugin()}
    675                          * @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()}
    676                          * is true and the plugin is active for the network.
     672                         * @param string $plugin               Basename of the plugin path from {@see activate_plugin()}.
     673                         * @param bool   $network_deactivating True if $network_wide passed in {@see deactivate_plugin()} is true and the plugin is active for the network.
    677674                         */
    678675                        do_action( 'deactivated_plugin', $plugin, $network_deactivating );
     
    933930                 * plugin passed to {@see uninstall_plugin()} to create a dynamically named action.
    934931                 *
    935                  * @since 2.6.1
     932                 * @since 2.7.0
    936933                 */
    937934                do_action( 'uninstall_' . $file );
Note: See TracChangeset for help on using the changeset viewer.