Make WordPress Core


Ignore:
Timestamp:
03/04/2018 10:06:46 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Expand delete_theme() return value, fix typo in delete_plugins() return value.

See #42505.

File:
1 edited

Legend:

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

    r42777 r42778  
    817817 * @param array  $plugins    List of plugins to delete.
    818818 * @param string $deprecated Deprecated.
    819  * @return bool|null|WP_Error True on success, false is $plugins is empty, WP_Error on failure.
     819 * @return bool|null|WP_Error True on success, false if `$plugins` is empty, WP_Error on failure.
    820820 *                            Null if filesystem credentials are required to proceed.
    821821 */
Note: See TracChangeset for help on using the changeset viewer.