<div id="WISESTAMP_SIG_7242"><span style="font-size: 13.3px; font-family: Verdana, Arial, Helvetica, sans-serif;"><font class="Apple-style-span" color="#333333" face="verdana, sans-serif"><span class="Apple-style-span" style="font-size: large;">Chris,</span></font></span></div>

<div id="WISESTAMP_SIG_7242"><span style="font-size: 13.3px; font-family: Verdana, Arial, Helvetica, sans-serif;"><font class="Apple-style-span" color="#333333" face="verdana, sans-serif"><span class="Apple-style-span" style="font-size: large;">I am getting the following depreciated calls notices:</span></font></span></div>

<div id="WISESTAMP_SIG_7242"><span style="font-size: 13.3px; font-family: Verdana, Arial, Helvetica, sans-serif;"><font class="Apple-style-span" color="#333333" face="verdana, sans-serif"><span class="Apple-style-span" style="font-size: large;"><br>

</span></font></span></div><div id="WISESTAMP_SIG_7242"><span style="font-size: 13.3px; font-family: Verdana, Arial, Helvetica, sans-serif;"><font class="Apple-style-span" color="#333333" face="verdana, sans-serif"><span class="Apple-style-span" style="font-size: large;"><div id="WISESTAMP_SIG_7242">

Argument in add_theme_page()</div><div id="WISESTAMP_SIG_7242">Used in wp-content/themes/zenlite/functions.php on line 299.</div><div id="WISESTAMP_SIG_7242">Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.</div>

<div id="WISESTAMP_SIG_7242">Deprecated in version 2.0.</div><div id="WISESTAMP_SIG_7242">124<span class="Apple-tab-span" style="white-space:pre">        </span>2010/07/08 11:57:19 PM</div><div id="WISESTAMP_SIG_7242"><br></div>

<div id="WISESTAMP_SIG_7242">Argument in current_user_can()</div><div id="WISESTAMP_SIG_7242">An admin menu page is using user levels instead of capabilities. There is likely a related log item with specifics.</div><div id="WISESTAMP_SIG_7242">

Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.</div><div id="WISESTAMP_SIG_7242">Deprecated in version 2.0.</div><div id="WISESTAMP_SIG_7242">83<span class="Apple-tab-span" style="white-space:pre">        </span>2010/07/08 11:57:16 PM</div>

<div id="WISESTAMP_SIG_7242"><br></div><div id="WISESTAMP_SIG_7242">Also in theme options when <span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;, Verdana, Arial, &#39;Bitstream Vera Sans&#39;, sans-serif; line-height: 18px; ">Display an author link on posts? is set to no it always changes back to yes.</span></div>

</span></font></span></div><br><br><div class="gmail_quote">On Thu, Jul 8, 2010 at 5:57 PM, Chris <span dir="ltr">&lt;<a href="mailto:chris@thematic4you.com">chris@thematic4you.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="DE" link="blue" vlink="purple">

<div>

<p class="MsoNormal">Hi,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span lang="EN-US">currently I’m reviewing ZenLite 3.0 -
</span><a href="http://themes.trac.wordpress.org/ticket/190" target="_blank"><span lang="EN-US">http://themes.trac.wordpress.org/ticket/190</span></a></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span lang="EN-US">I’m getting the following notice: has_cap
was called with an argument that is <strong><span>deprecated</span></strong>
since version 2.0! Usage of user levels by plugins and themes is deprecated.
Use roles and capabilities instead. in <b>C:\xampp\htdocs\theme-review\wp-includes\functions.php</b>
on line <b>3321</b></span></p>

<p class="MsoNormal"><b><span lang="EN-US"> </span></b></p>

<p class="MsoNormal"><span lang="EN-US">The theme itself doesn’t call ‘has_cap’,
so it seems to be something else that causes this notice. Could you please push
me into the right direction, what to look for?</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">The other notices are undefined variables.</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Thanks for your help!</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Chris</span><span lang="EN-US"></span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

</div>

</div>


<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>