Changeset 46696 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 11/11/2019 02:41:15 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r46695 r46696 614 614 * or just the current site. Multisite only. Default false. 615 615 * @param bool $silent Optional. Whether to prevent calling activation hooks. Default false. 616 * @return WP_Error|nullWP_Error on invalid file or null on success.616 * @return null|WP_Error WP_Error on invalid file or null on success. 617 617 */ 618 618 function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silent = false ) { … … 1072 1072 * 1073 1073 * @param string $plugin Path to the plugin file relative to the plugins directory. 1074 * @return WP_Error|int0 on success, WP_Error on failure.1074 * @return int|WP_Error 0 on success, WP_Error on failure. 1075 1075 */ 1076 1076 function validate_plugin( $plugin ) {
Note: See TracChangeset
for help on using the changeset viewer.