Changes between Version 1 and Version 2 of Ticket #40258, comment 1
- Timestamp:
- 03/25/2017 10:11:02 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40258, comment 1
v1 v2 3 3 `get_template_part( 'components/footer/site'); ` 4 4 5 as we cant add action (in[https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/general-template.php#L158 ):5 as from [https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/general-template.php#L158 ): 6 6 7 7 8 which should be:8 it becomes: 9 9 `add_action('get_template_part_components/footer/site'` 10 10 11 however, that action contains slash and cant be added.11 and I think slash there is not a good idea.