Changeset 42778
- Timestamp:
- 03/04/2018 10:06:46 PM (7 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r42777 r42778 817 817 * @param array $plugins List of plugins to delete. 818 818 * @param string $deprecated Deprecated. 819 * @return bool|null|WP_Error True on success, false i s $pluginsis empty, WP_Error on failure.819 * @return bool|null|WP_Error True on success, false if `$plugins` is empty, WP_Error on failure. 820 820 * Null if filesystem credentials are required to proceed. 821 821 */ -
trunk/src/wp-admin/includes/theme.php
r42777 r42778 14 14 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 15 15 * 16 * @param string $stylesheet Stylesheet of the theme to delete 17 * @param string $redirect Redirect to page when complete. 18 * @return void|bool|WP_Error When void, echoes content. 16 * @param string $stylesheet Stylesheet of the theme to delete. 17 * @param string $redirect Redirect to page when complete. 18 * @return bool|null|WP_Error True on success, false if `$stylesheet` is empty, WP_Error on failure. 19 * Null if filesystem credentials are required to proceed. 19 20 */ 20 21 function delete_theme( $stylesheet, $redirect = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.