id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
12248,get_generic_template action should pass both slug and name as parameters,ptahdunbar,,"get_generic_template() has a do_action call that gets fired when it's used.[[BR]]
`do_action( ""get_generic_template_{$slug}"", $name );`
I propose to change it into this:[[BR]]
`do_action( 'get_generic_template', $slug, $name );`
So other themes and plugins can easily hook into the 'get_generic_template' and run code without initially having to know the slug.",defect (bug),closed,normal,3.0,Template,,normal,fixed,has-patch,,