[theme-reviewers] Failure of review for my theme (Ahimsa 4.0)

Chip Bennett chip at chipbennett.net
Sun Mar 18 13:10:01 UTC 2012


Yes, if you absolutely *must* use file operations, then you must use the
Filesystem API.

Is there any particular reason that your "skins" have to use these sort of
files, rather than simply enqueueing CSS files?

Chip

On Sun, Mar 18, 2012 at 1:45 AM, Konstantin Obenland <obenland at gmx.de>wrote:

> Hi Ravi,
>
> check out Otto's WP_Filesystem Tutorial at
> http://ottopress.com/2011/tutorial-using-the-wp_filesystem/ and have look
> at the Codex at http://codex.wordpress.org/Filesystem_API. This should
> get you going on this :)
>
> Konstantin
>
> Sent from my iPhone
>
> On Mar 18, 2012, at 5:46, // ravi <ravi-lists at g8o.net> wrote:
>
> >
> > Hello all,
> >
> > the theme checker that runs on submit returned a fail for my theme due
> to one WARNING, 3 RECOMMENDATIONS and 6 INFO reports. I had run the plugin
> myself and assumed that WARNINGs are not grounds for rejections, but it
> seems that I might have taken the meaning too literally. I am guessing it
> is the warning for which the theme check failed. The warning is:
> >
> > WARNING: fopen was found in the file functions.php possible file
> operations.
> >
> > And that’s true. I do read/write files that contain user customisations
> (which I call “skins”) to my theme. These files are written into the
> directory WP_CONTENT_DIR/themestore/ahimsa. This choice of directory is
> based on advise from the wp-hackers list a few years ago (
> http://lists.automattic.com/pipermail/wp-hackers/2009-September/027526.html
> ).
> >
> > I am stuck with this setup, and have users out there who are using it to
> create and use their own “skins”. I cannot, as a result, pull that code out
> immediately.
> >
> > What’s the way out for me, in this situation?
> >
> > Thank you and regards,
> >
> >    —ravi
> >
> > _______________________________________________
> > theme-reviewers mailing list
> > theme-reviewers at lists.wordpress.org
> > http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120318/408cb12a/attachment.htm>


More information about the theme-reviewers mailing list