From 5a6973304572ce0c4dafd2104f4d33db35aa90b1 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 23 Dec 2015 07:00:27 +0000 Subject: [PATCH] Docs: Properly mark the optional `$redirect`, `$network_wide`, and `$silent` parameters as such in the DocBlock for `activate_plugin()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@36072 git-svn-id: http://core.svn.wordpress.org/trunk@36037 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index fbb1dc4b20..854d7e7f9b 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -508,11 +508,11 @@ function is_network_only_plugin( $plugin ) { * * @since 2.5.0 * - * @param string $plugin Plugin path to main plugin file with plugin data. - * @param string $redirect Optional. URL to redirect to. - * @param bool $network_wide Whether to enable the plugin for all sites in the - * network or just the current site. Multisite only. Default is false. - * @param bool $silent Prevent calling activation hooks. Optional, default is false. + * @param string $plugin Plugin path to main plugin file with plugin data. + * @param string $redirect Optional. URL to redirect to. + * @param bool $network_wide Optional. Whether to enable the plugin for all sites in the network + * or just the current site. Multisite only. Default false. + * @param bool $silent Optional. Whether to prevent calling activation hooks. Default false. * @return WP_Error|null WP_Error on invalid file or null on success. */ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silent = false ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 0f7cc7dbf7..52f09b3a59 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36071'; +$wp_version = '4.5-alpha-36072'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.