WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Capitalized post types break in get_post_type_object() on WP 3.1 (2 posts)

  1. scottconnerly
    Member
    Posted 3 years ago #

    My post type of 'Offices' no longer works in WP 3.1, as the indexes in the $wp_post_types global array are all lowercase when it goes looking for them in get_post_type_object().

  2. scottconnerly
    Member
    Posted 3 years ago #

    objects should never have a capital letter in them. Learned that the hard way.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic