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

  1. scottconnerly
    Posted 5 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
    Posted 5 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

  • Custom Post Type UI
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic