Opened 15 years ago
Closed 15 years ago
#12941 closed defect (bug) (fixed)
do_action(get_template_part{$slug}) could use and underscore or dash for better readability
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Template | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch to bing back underscore to get_template_part action