[wp-trac] [WordPress Trac] #19063: Custom post_types and get_template_part

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 26 19:07:00 UTC 2011

#19063: Custom post_types and get_template_part
 Reporter:  impleri      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Template     |     Version:
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |

Comment (by scribu):

 How can you be sure that $slug in {{{"$slug-$type.php"}}} isn't 'page' or
 'single' or some other string that will load a wholly unexpected template

Ticket URL: <http://core.trac.wordpress.org/ticket/19063#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list