WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/05/2018 09:49:53 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Standardise and correct documentation relating to parameters which accept plugin names.

See #42505

File:
1 edited

Legend:

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

    r42723 r42787  
    654654 * While upgrading or installing WordPress, no plugins are returned.
    655655 *
    656  * The default directory is wp-content/plugins. To change the default
     656 * The default directory is `wp-content/plugins`. To change the default
    657657 * directory manually, define `WP_PLUGIN_DIR` and `WP_PLUGIN_URL`
    658  * in wp-config.php.
    659  *
    660  * @since 3.0.0
    661  * @access private
    662  *
    663  * @return array Files.
     658 * in `wp-config.php`.
     659 *
     660 * @since 3.0.0
     661 * @access private
     662 *
     663 * @return string[] $plugin_file Array of paths to plugin files relative to the plugins directory.
    664664 */
    665665function wp_get_active_and_valid_plugins() {
Note: See TracChangeset for help on using the changeset viewer.