Make WordPress Core


Ignore:
Timestamp:
01/23/2019 03:38:19 AM (8 years ago)
Author:
peterwilsoncc
Message:

Plugins: Update docs for individual plugin loaded actions.

Corrects documentation to indicate the full path is passed to each action.

Fixes #41346.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r44674 r44692  
    289289         * @since 5.1.0
    290290         *
    291          * @param string $mu_plugin Loaded plugin's basename.
     291         * @param string $mu_plugin Full path to the plugin's main file.
    292292         */
    293293        do_action( 'mu_plugin_loaded', $mu_plugin );
    … …  
    306306                 * @since 5.1.0
    307307                 *
    308                  * @param string $network_plugin Loaded plugin's basename.
     308                 * @param string $network_plugin Full path to the plugin's main file.
    309309                 */
    310310                do_action( 'network_plugin_loaded', $network_plugin );
    … …  
    353353         * @since 5.1.0
    354354         *
    355          * @param string $plugin Loaded plugin's basename.
     355         * @param string $plugin Full path to the plugin's main file.
    356356         */
    357357        do_action( 'plugin_loaded', $plugin );
Note: See TracChangeset for help on using the changeset viewer.