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

// ravi ravi-lists at g8o.net
Wed Apr 18 13:53:21 UTC 2012


On Apr 17, 2012, at 10:41 AM, Greg Priday wrote:
> Thanks a million Ravi! That's exactly what I was looking for.
> 


Glad to hear it. FWIW, after I checked into it, I am now inclined towards skipping the filesystem altogether and storing my [user defined] custom CSS and styles in the DB (loathe as I am to use a database for storing these sort of blobs).

	—ravi


> On Tue, Apr 17, 2012 at 4:27 PM, // ravi <ravi-lists at g8o.net> wrote:
>> 
>> Greg,
>> 
>> see the responses to my thread with a similar question:
>> 
>> http://lists.wordpress.org/pipermail/theme-reviewers/2012-March/008586.html
>> 
>>        —ravi
>> 
>> 
>> On Apr 17, 2012, at 10:09 AM, Greg Priday wrote:
>> 
>>> Hi
>>> 
>>> 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,
>>> Greg
>> 


More information about the theme-reviewers mailing list