Remember, though, textdomain MUST be a string value. This:<div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>esc_attr_e( &#39;Search&#39;, WEBFISH_THEME_NAME . &#39;-theme&#39; );</div></blockquote>

</div><div><br></div><div>Needs to be replaced with the actual string.</div><div><br></div><div>I&#39;ll make additional comments in the ticket, as well.</div><div><br></div><div>Chip<br><br><div class="gmail_quote">On Sat, Dec 24, 2011 at 5:43 AM, Michael Fields <span dir="ltr">&lt;<a href="mailto:michael@mfields.org" target="_blank">michael@mfields.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Paul,<br>
<div><br>
&gt; also, it is echoing a string without escaping it.<br>
&gt; Author is arguing his code is ok and secure regardless.<br>
&gt; what should I do?<br>
<br>
</div>If the value is contained in an attribute, it should always be escaped if it contains a dynamic value. Translated strings are dynamic once translated. This can definitely cause issues with translated strings that include a single quote and the attributes value is enclosed in single quotes. The following is the best way to handle a situation such as this:<br>


<br>
&lt;input name=&quot;s&quot; type=&quot;text&quot; id=&quot;s&quot; value=&quot;&lt;?php esc_attr_e( &#39;Search&#39;, WEBFISH_THEME_NAME . &#39;-theme&#39; ); ?&gt;&quot;/&gt;<br>
<br>
Twenty Eleven provides a similar feature to what the theme author is going for here using the placeholder attribute. You may want to suggest that the author tries something like this instead:<br>
<br>
&lt;input type=&quot;text&quot; class=&quot;field&quot; name=&quot;s&quot; id=&quot;s&quot; placeholder=&quot;&lt;?php esc_attr_e( &#39;Search&#39;, &#39;twentyeleven&#39; ); ?&gt;&quot; /&gt;<br>
<br>
My opinion is that the value of the search input be reserved for the search query. The term &quot;Search&quot; in the case is either a label or an action to be taken and should be reserved for the submit button, a label element or a placeholder attribute. Using it as the value of search input is bad form as id decreases usability of the form.<br>


<div><br>
&gt; also, there is no margin below paragraphs, (readability test) - shouldn&#39;t that be required?<br>
<br>
</div>I believe so. Paragraphs should be easily distinguished from one another.<br>
<br>
Best,<br>
-Mike<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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><br></div>