added support for post_types #91

It's only RC 4 that's referenced on this page. The function exists since WP 2.3.0.