Make WordPress Core

Changeset 52931


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

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

See #54729.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

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

    r52422 r52931  
    236236
    237237/**
    238  * Retrieve popular WordPress plugin tags.
     238 * Retrieves popular WordPress plugin tags.
    239239 *
    240240 * @since 2.7.0
     
    262262
    263263/**
     264 * Displays plugin install dashboard.
     265 *
    264266 * @since 2.7.0
    265267 */
     
    343345
    344346/**
    345  * Upload from zip
     347 * Displays a form to upload plugins from zip files.
    346348 *
    347349 * @since 2.8.0
     
    362364
    363365/**
    364  * Show a username form for the favorites page
     366 * Shows a username form for the favorites page.
    365367 *
    366368 * @since 3.5.0
     
    384386
    385387/**
    386  * Display plugin content based on plugin list.
     388 * Displays plugin content based on plugin list.
    387389 *
    388390 * @since 2.7.0
     
    419421
    420422/**
    421  * Determine the status we can perform on a plugin.
     423 * Determines the status we can perform on a plugin.
    422424 *
    423425 * @since 3.0.0
     
    509511
    510512/**
    511  * Display plugin information in dialog box form.
     513 * Displays plugin information in dialog box form.
    512514 *
    513515 * @since 2.7.0
  • 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.