Docs: Improve the DocBlock for `validate_plugin()`.

Props theMikeD.
Fixes #36333.
Built from https://develop.svn.wordpress.org/trunk@39889


git-svn-id: http://core.svn.wordpress.org/trunk@39826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-01-12 06:15:42 +00:00
parent 8b9a3a08bf
commit a989f0b168
2 changed files with 3 additions and 3 deletions

View File

@ -940,11 +940,11 @@ function validate_active_plugins() {
/**
* Validate the plugin path.
*
* Checks that the file exists and is a valid file. See validate_file().
* Checks that the main plugin file exists and is a valid plugin. See validate_file().
*
* @since 2.5.0
*
* @param string $plugin Plugin Path.
* @param string $plugin Path to the main plugin file from plugins directory.
* @return WP_Error|int 0 on success, WP_Error on failure.
*/
function validate_plugin($plugin) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39888';
$wp_version = '4.8-alpha-39889';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.