Opened 16 years ago
Closed 16 years ago
#12941 closed defect (bug) (fixed)
do_action(get_template_part{$slug}) could use and underscore or dash for better readability
| Reported by: | ev3rywh3re | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Template | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to bing back underscore to get_template_part action