[wp-trac] [WordPress Trac] #21117: Custom post called "content" triggers a PHP notice

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 30 00:10:00 UTC 2012


#21117: Custom post called "content" triggers a PHP notice
----------------------------+-----------------------------
 Reporter:  bpierre         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  3.4
 Severity:  minor           |   Keywords:
----------------------------+-----------------------------
 If a custom post is called "content", the following error appears on all
 the admin pages:


 {{{
 Notice: Undefined index: meta in /path/to/wp-includes/class-wp-admin-
 bar.php on line 108
 }}}

 "content" is not in the taxonomy reserved terms list:
 http://codex.wordpress.org/Function_Reference/register_taxonomy#Reserved_Terms

 PS: according to the ticket:19868, the taxonomy reserved terms are used
 for everything?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21117>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list