WordPress.org

Forums

Logo upload feature won't pass Theme Checker - Theme Development (1 post)

  1. brmecham
    Member
    Posted 3 years ago #

    I've created a new theme to upload to the WordPress Free Themes Directory ( live at http://wordpress.brmecham.com )...

    I wanted to include a feature that allows the user to upload a logo in place of the site name in the header. The feature works just great, but it won't pass the WordPress Theme Checker. I get the following message:

    WARNING: file_get_contents was found in the file functions.php possible file operations.
    Line 51: $file_content=file_get_contents($temp_file);

    Any idea how I can include a logo uploader that passes the WordPress Theme Checker?

Topic Closed

This topic has been closed to new replies.

About this Topic