[wp-trac] [WordPress Trac] #17566: Instantiate $show_sep in templates.

WordPress Trac wp-trac at lists.automattic.com
Thu May 26 02:29:48 UTC 2011


#17566: Instantiate $show_sep in templates.
--------------------------+------------------------------------
 Reporter:  mfields       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.2
 Severity:  normal        |   Keywords:  has-patch dev-feedback
--------------------------+------------------------------------
 A notice will be generated in case where a taxonomy archive is queried for
 that contains posts not having the 'post' post_type. The notice is
 generated because the value of $show_sep is being tested against, but the
 variable does not exist where post_type != 'post'. I first noticed this in
 content.php but have instantiate the var in all other templates where I
 found it.

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


More information about the wp-trac mailing list