<p>Except the $content_width variable right? Or is that obsolete now?</p>
<div class="gmail_quote">On Dec 29, 2012 2:55 PM, &quot;Otto&quot; &lt;<a href="mailto:otto@ottodestruct.com">otto@ottodestruct.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, Dec 29, 2012 at 2:28 PM, Shinra Web Holdings<br>
&lt;<a href="mailto:contact@shinraholdings.com">contact@shinraholdings.com</a>&gt; wrote:<br>
&gt; Is simply placing add_editor_style() in the functions.php file the best<br>
&gt; practice, or is it better to wrap it in a theme function and call that with<br>
&gt; add_action()?<br>
<br>
It is best to place that call inside a setup function which is then<br>
hooked to the &quot;after_setup_theme&quot; action hook.<br>
<br>
In general, nothing in the theme&#39;s functions.php file should be<br>
outside of a function other than the add_action or add_filter calls.<br>
<br>
-Otto<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>
</blockquote></div>