<div dir="ltr">The rules regarding allowable functions are different for Themes and Plugins. Plugins can use read/write functions such as file_get_contents(), etc.; Themes cannot. So, csstidy() may be appropriate for the JetPack Plugin, but it won't be for Themes.<div>
<br></div><div style>That said, you don't need anything that bulky anyway. All you *have* to do is to ensure that it's not unsafe. For that, you could probably use <a href="http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/kses.php#L0">one of the WordPress KSES functions</a>, such as <a href="http://codex.wordpress.org/Function_Reference/wp_filter_kses">wp_filter_kses()</a>, inside your register_setting() validation callback.</div>
<div style><br></div><div style>Also, be sure your stand-alone Theme is approved prior to submitting any Child Themes for it. One of the guidelines for Child Themes is that its parent Theme must already be approved in the repository.</div>
<div style><br></div><div style>Regards,</div><div style>Chip</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 8:04 AM, Ünsal Korkmaz <span dir="ltr"><<a href="mailto:unsalkorkmaz@gmail.com" target="_blank">unsalkorkmaz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><div class="gmail_quote">I released <a href="http://themes.trac.wordpress.org/ticket/10967" target="_blank">1 parent</a>, <a href="http://themes.trac.wordpress.org/ticket/11003" target="_blank">1 child theme</a> this week. These are my first theme contribution to WordPress community so its my first time i am submitting themes to directory. When i upload parent theme from <a href="http://wordpress.org/extend/themes/upload/" target="_blank">http://wordpress.org/extend/themes/upload/</a> i got <br>
<b>WARNING: file_get_contents in class.csstidy_print.php</b> error and system denied my theme automatically. I got csstidy codes from <a href="http://jetpack.me/support/custom-css/" target="_blank">Jetpack plugin's Custom Css</a> module but still system didnt accept it. Basically custom css sanitizing is an important subject in my opinion and there is no default wordpress function like <a href="http://codex.wordpress.org/Function_Reference/esc_attr" target="_blank">esc_attr()</a>.<br>
Probably csstidy class is not best solution but it was best option i had and it seems its not accepting in theme directory. So what is best sanitizing custom css way for themes?
</div><br>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>