[wp-trac] [WordPress Trac] #16772: Enabling support for Gallery format removed Gallery custom post type

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 7 02:46:00 UTC 2011


#16772: Enabling support for Gallery format removed Gallery custom post type
-------------------------------+------------------------------
 Reporter:  10sexyapples       |       Owner:  10sexyapples
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by 10sexyapples):

 * owner:   => 10sexyapples
 * status:  new => reviewing


Comment:

 Alright, so, I went through with a fine-toothed comb and there are no
 codes out of place, but, to be sure, I removed everything from the theme
 down to just index, header and footer with the only thing in the functions
 file being the registration of the custom post types, and all plugins off,
 and still my gallery menu item is no where to be found.

 I created a new custom post type and it showed up in the menu just fine as
 it should. I then typed in the url for the missing post_type and got the
 cheatin'uh? message. I'm completely stumped and not to savvy at
 troubleshooting anything to do with the admin side of things. I looked at
 the core code pulling in the menu, and can't see anything I can use to
 troubleshoot.

 I'm at a standstill on this. It really makes no sense whatsoever, but, as
 I'm at the tail end of this site and it's on the verge of golive ... and
 I'm lucky enough that only two posts have been made in the gallery post
 type admin, I am going to recreate a new custom post type that doesn't
 reference the word gallery ... tsa_gallery for the post_type itself and
 move forward.

 I'm not one to leave cobwebs hanging about though, so, will keep at this
 until it's worked out. Is there any kind of debug function I can run to
 test what is being returned when the admin menu is called there? I'm going
 to move over to support once I hear back from you ... I obviously jumped
 the gun coming straight here. My apologies for that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16772#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list