[wp-trac] [WordPress Trac] #16793: Bulk inline post edit doesn't show categories or tags if the CPT doesn't support titles

WordPress Trac wp-trac at lists.automattic.com
Sun May 22 17:04:59 UTC 2011


#16793: Bulk inline post edit doesn't show categories or tags if the CPT doesn't
support titles
----------------------------+-----------------------------
 Reporter:  scribu          |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------------
Changes (by somatic):

 * cc: israel@… (added)


Comment:

 another casualty of this problem is that any javascript (and jQuery) that
 would be executed on the `wp-admin/edit.php?post_type=foo` screen can't
 run, as the javascript engine stops at that initial `Uncaught TypeError:
 Cannot read property 'firstChild' of null` error. I had been adding some
 additional sorting options via jQuery, and couldn't figure out why they
 appeared on some post type edit lists, but not this one, until I found
 this ticket...

 I can confirm that add the `supports => titles` does fix the problem, but
 it's not absolute: I have two CPTS, registered with basically identical
 args, and neither supports titles - but one manifests the javascript error
 on `edit.php` and the other does not...

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


More information about the wp-trac mailing list