WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16793, comment 8


Ignore:
Timestamp:
05/22/11 17:05:45 (3 years ago)
Author:
somatic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16793, comment 8

    initial v1  
    11another 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... 
    22 
    3 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... 
     3I can confirm that adding the `supports => titles` does fix the problem, but it's not absolute: I have two CPT, registered with basically identical args, and neither supports titles - but one manifests the javascript error on `edit.php` and the other does not...