[wp-trac] [WordPress Trac] #12941: do_action(get_template_part{$slug}) could use and underscore or dash for better readability
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 9 17:04:52 UTC 2010
#12941: do_action(get_template_part{$slug}) could use and underscore or dash for
better readability
--------------------------+-------------------------------------------------
Reporter: ev3rywh3re | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Template | Version: 3.0
Severity: normal | Keywords: get_template_part
--------------------------+-------------------------------------------------
in [13815] the function and action were renamed, but that removed the
underscore in the do_action part. Attached is a quick patch to bring back
the underscore in the action name for (hopefully!) better consistency and
readability. I'm marking as a defect since leaving off the underscore may
have been accidental.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12941>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list