Make WordPress Core


Ignore:
Timestamp:
03/13/2022 09:54:14 PM (4 years ago)
Author:
audrasjb
Message:

Docs: Miscellaneous fixes in wp-admin/includes/plugin-install.php and wp-admin/includes/plugin.php.

See #54729.

File:
1 edited

Legend:

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

    r52571 r52931  
    216216
    217217/**
    218  * Get a list of a plugin's files.
     218 * Gets a list of a plugin's files.
    219219 *
    220220 * @since 2.8.0
     
    251251
    252252/**
    253  * Check the plugins directory and retrieve all plugin files with plugin data.
     253 * Checks the plugins directory and retrieve all plugin files with plugin data.
    254254 *
    255255 * WordPress only supports plugin files in the base plugins directory
     
    351351
    352352/**
    353  * Check the mu-plugins directory and retrieve all mu-plugin files with any plugin data.
     353 * Checks the mu-plugins directory and retrieve all mu-plugin files with any plugin data.
    354354 *
    355355 * WordPress only includes mu-plugin files in the base mu-plugins directory (wp-content/mu-plugins).
     
    410410
    411411/**
    412  * Callback to sort array by a 'Name' key.
     412 * Declares a callback to sort array by a 'Name' key.
    413413 *
    414414 * @since 3.1.0
     
    425425
    426426/**
    427  * Check the wp-content directory and retrieve all drop-ins with any plugin data.
     427 * Checks the wp-content directory and retrieve all drop-ins with any plugin data.
    428428 *
    429429 * @since 3.0.0
     
    729729
    730730/**
    731  * Deactivate a single plugin or multiple plugins.
     731 * Deactivates a single plugin or multiple plugins.
    732732 *
    733733 * The deactivation hook is disabled by the plugin upgrader by using the $silent
     
    837837
    838838/**
    839  * Activate multiple plugins.
     839 * Activates multiple plugins.
    840840 *
    841841 * When WP_Error is returned, it does not mean that one of the plugins had
     
    877877
    878878/**
    879  * Remove directory and files of a plugin for a list of plugins.
     879 * Removes directory and files of a plugin for a list of plugins.
    880880 *
    881881 * @since 2.6.0
     
    10421042
    10431043/**
    1044  * Validate active plugins
     1044 * Validates active plugins.
    10451045 *
    10461046 * Validate all active plugins, deactivates invalid and
     
    10811081
    10821082/**
    1083  * Validate the plugin path.
     1083 * Validates the plugin path.
    10841084 *
    10851085 * Checks that the main plugin file exists and is a valid plugin. See validate_file().
     
    11831183
    11841184/**
    1185  * Whether the plugin can be uninstalled.
     1185 * Determines whether the plugin can be uninstalled.
    11861186 *
    11871187 * @since 2.7.0
     
    12021202
    12031203/**
    1204  * Uninstall a single plugin.
     1204 * Uninstalls a single plugin.
    12051205 *
    12061206 * Calls the uninstall hook, if it is available.
     
    22602260
    22612261/**
    2262  * Output nonce, action, and option_page fields for a settings page.
     2262 * Outputs nonce, action, and option_page fields for a settings page.
    22632263 *
    22642264 * @since 2.7.0
     
    22882288
    22892289/**
    2290  * Load a given plugin attempt to generate errors.
     2290 * Loads a given plugin attempt to generate errors.
    22912291 *
    22922292 * @since 3.0.0
     
    23052305
    23062306/**
    2307  * Helper function for adding content to the Privacy Policy Guide.
     2307 * Declares an helper function for adding content to the Privacy Policy Guide.
    23082308 *
    23092309 * Plugins and themes should suggest text for inclusion in the site's privacy policy.
Note: See TracChangeset for help on using the changeset viewer.