WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
07/01/2020 04:15:26 PM (15 months ago)
Author:
enrico.sorcinelli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21676, comment 89

    initial v1  
    11I'd like me too avoiding use of `extract`.
    22A `(get|set)_template_var()` approach would imply use of globals that's exactly what the ticket would like to avoid.
    3 IMHO, moreover with such approach we should also add additional code to cleanup template variables after each template calls.
     3IMHO, moreover with such approach we should also add additional code to cleanup template variables after each template call.