Make WordPress Core

Ticket #36333: 36333.diff

File 36333.diff, 632 bytes (added by theMikeD, 8 years ago)

Patch for validate_plugin() docblock

  • src/wp-admin/includes/plugin.php

     
    933933/**
    934934 * Validate the plugin path.
    935935 *
    936  * Checks that the file exists and {@link validate_file() is valid file}.
     936 * Checks that the main plugin file exists and is a valid plugin
    937937 *
    938938 * @since 2.5.0
    939939 *
    940  * @param string $plugin Plugin Path
     940 * @param string $plugin Path to main plugin file
    941941 * @return WP_Error|int 0 on success, WP_Error on failure.
    942942 */
    943943function validate_plugin($plugin) {