Error in get_file_description()
-
intro: sorry for my BAD english.
in admin panel was error(in file admin-functions) in this string:
“if ( isset($wp_file_des […]”.Why error is shown?
var_dump($recents);
array(5) {
[0]=> string(31) “wp-content/themes/default/style.css”
[2]=> string(31) “wp-content/themes/default/index.php”
[…]
}$recents[1] is not available!
as solution is change string in get_file_description():
“if ( isset($wp_file_des […]”
on
“if ( is_file($wp_file_des […]”.
- The topic ‘Error in get_file_description()’ is closed to new replies.