Quantcast
Channel: Topic Tag: bug | WordPress.org
Viewing all articles
Browse latest Browse all 23376

jrf on "[Plugin: WP Plugin Security Check] [Small bug+fix] file_get_contents vs directories"

$
0
0

Hiya,

Very helpful little plugin this. Thank you for that!

Just though I'd let you know that with WP_DEBUG on, it produces a lot of warnings as it will try and treat directories as files.

This can easily be fixed. Just change line 64:
if( file_exists( $realfile ) ){
to:
if( file_exists( $realfile ) && !is_dir( $realfile ) ){

Hope this helps & keep up the good work!

Smile,
Juliette

http://wordpress.org/plugins/wp-plugin-security-check/


Viewing all articles
Browse latest Browse all 23376

Trending Articles