WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21676, comment 54


Ignore:
Timestamp:
07/14/2016 08:05:18 PM (5 years ago)
Author:
eddiemoya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21676, comment 54

    initial v1  
    1 How is this not a thing yet? There are limitless reasons to lead a template that have nothing to do with the global scope. The very simplest being a template that needs to load another template, based on a variable.
     1How is this not a thing yet? There are limitless reasons to pass variables into have nothing to do with the global scope. The very simplest being a template that needs to load another template, based on a variable.
    22
    33So here I go writing the same custom workaround into my functions.php file that everyone has.