WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40258, comment 1


Ignore:
Timestamp:
03/25/2017 10:07:39 AM (4 years ago)
Author:
tazotodua
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40258, comment 1

    initial v1  
    33`get_template_part( 'components/footer/site'); `
    44
    5 as we cant add action like this:
     5as we cant add action (in [https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/general-template.php#L158 ):
    66
    7 add_action('get_template_part_{$slug}'
     7
    88which should be:
    99`add_action('get_template_part_components/footer/site'`