WordPress.org

Make WordPress Core

Ticket #8140: wp2.7fix.diff

File wp2.7fix.diff, 214 bytes (added by ranok, 6 years ago)

A fix for version 2.7.

Line 
1464c464
2<                       if ( '' != $plugin && 0 == validate_file($plugin) && is_file(WP_PLUGIN_DIR . '/' . $plugin) )
3---
4>                       if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) )