Make WordPress Core

Ticket #30200: documentation.diff

File documentation.diff, 1.3 KB (added by wedi, 11 years ago)
  • wp-admin/includes/plugin.php

    diff --git wp-admin/includes/plugin.php wp-admin/includes/plugin.php
    index 517c31d..fc11ef1 100644
    function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen 
    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),
  • wp-admin/plugins.php

    diff --git wp-admin/plugins.php wp-admin/plugins.php
    index 6e144c6..afc83bb 100644
    function plugin_sandbox_scrape( $plugin ) { 
    151151                                include( WP_PLUGIN_DIR . '/' . $plugin );
    152152                        }
    153153                        plugin_sandbox_scrape( $plugin );
    154                         /** This action is documented in wp-admin/includes/plugins.php */
     154                        /** This action is documented in wp-admin/includes/plugin.php */
    155155                        do_action( "activate_{$plugin}" );
    156156                        exit;