WordPress.org

Ready to get started?Download WordPress

Forums

Error in get_file_description() (1 post)

  1. mcnet
    Member
    Posted 8 years ago #

    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 [...]".

Topic Closed

This topic has been closed to new replies.

About this Topic