WordPress.org

Make WordPress Core

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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40258, comment 1

    v1 v2  
    33`get_template_part( 'components/footer/site'); `
    44
    5 as we cant add action (in [https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/general-template.php#L158 ):
     5as from [https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/general-template.php#L158 ):
    66
    77
    8 which should be:
     8it becomes:
    99`add_action('get_template_part_components/footer/site'`
    1010
    11 however, that action contains slash and cant be added.
     11and I think slash there is not a good idea.