[theme-reviewers] Theme Review Question - Reading/Writing Files

Greg Priday greg at siteorigin.com
Tue Apr 17 14:09:32 UTC 2012


I just tried submitting my theme to the WordPress directory. It failed
because it uses calls to file_put_contents. I assume file_put_contents
isn't allowed to prevent abuse. My theme uses it to save custom CSS
and to resize images (using a custom image resizer, not TimThumb).

Would it be possible to send my theme in for a custom review, or do I
have to remove the use of file_get_contents and file_put_contents?

I feel that my whole theme would be a lot neater if I didn't have to
switch to using wp_upload_bits and the options functions.

Just thought I'd ask before putting in the hours to fix everything :)

Best Regards,

More information about the theme-reviewers mailing list