[wp-docs] is_archive() page
Andrea Rennick
andrea at ronandandrea.com
Mon Oct 17 15:34:57 UTC 2011
Everyone with a WordPress.org login can also login to the codex and edit the
page. :) ou do not need to ask special permission.
A.
On Mon, Oct 17, 2011 at 12:24 PM, Gavin Pearce <Gavin.Pearce at 3seven9.com>wrote:
> Hi guys,****
>
> ** **
>
> 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.****
>
> ** **
>
> http://codex.wordpress.org/Function_Reference/is_archive****
>
> ** **
>
> At present is_archive() doesn't accept any parameters.****
>
> ** **
>
> To achieve the effect listed there, a user should use:****
>
> is_post_type_archive( $post_type ).****
>
> ** **
>
> Could someone with Codex permissions update for us? :)****
>
> ** **
>
> Thanks,****
>
> Gavin****
>
> _______________________________________________
> wp-docs mailing list
> wp-docs at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-docs
>
>
--
--
Andrea Rennick, http://wpebooks.com and http://ronandandrea.com
Co-author of WordPress All-In-One For Dummies http://rml.me/aio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-docs/attachments/20111017/bcc485fd/attachment.htm>
More information about the wp-docs
mailing list