[wp-trac] [WordPress Trac] #21871: Reduce reliance on global variables in list tables

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 20 16:14:12 UTC 2012


#21871: Reduce reliance on global variables in list tables
----------------------------+-----------------------
 Reporter:  ryan            |       Owner:  ryan
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  3.5
Component:  Administration  |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------
Changes (by ocean90):

 * keywords:  has-patch => needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 When adding a tag or category on edit-tags.php you will get a notice:

 `Notice: Trying to get property of non-object in /wp-admin/includes/class-
 wp-terms-list-table.php on line 290`

 `$this->screen->post_type` is null.

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


More information about the wp-trac mailing list