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
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-docs

Reply via email to