Everyone with a WordPress.org login can also login to the codex and edit the page. :) ou do not need to ask special permission.<div><br></div><div>A.<br><br><div class="gmail_quote">On Mon, Oct 17, 2011 at 12:24 PM, Gavin Pearce <span dir="ltr"><<a href="mailto:Gavin.Pearce@3seven9.com">Gavin.Pearce@3seven9.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="color:black">Hi guys,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:black">Robert Lusby & Bill Erickson have just pointed out over on WP-Hackers that the codex page for is_archive() incorrectly lists $post_types as a parameter.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:black"><a href="http://codex.wordpress.org/Function_Reference/is_archive" target="_blank">http://codex.wordpress.org/Function_Reference/is_archive</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:black">At present is_archive() doesn't accept any parameters.<u></u><u></u></span></p><p class="MsoNormal">
<span style="color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:black">To achieve the effect listed there, a user should use:<u></u><u></u></span></p><p class="MsoNormal">is_post_type_archive( $post_type ).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="color:black">Could someone with Codex permissions update for us? :)<u></u><u></u></span></p><p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:black">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:black">Gavin<u></u><u></u></span></p></div></div><br>_______________________________________________<br>
wp-docs mailing list<br>
<a href="mailto:wp-docs@lists.automattic.com">wp-docs@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-docs" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-docs</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>-- <br>Andrea Rennick, <a href="http://wpebooks.com" target="_blank">http://wpebooks.com</a> and <a href="http://ronandandrea.com" target="_blank">http://ronandandrea.com</a> <div>
Co-author of WordPress All-In-One For Dummies <a href="http://rml.me/aio" target="_blank">http://rml.me/aio</a></div><br>
</div>