Make WordPress Core

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


Ignore:
Timestamp:
06/09/2020 05:47:49 AM (5 years ago)
Author:
enrico.sorcinelli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21676, comment 77

    initial v1  
    11I know, there are workarounds for that, like use of globals,  `get_query_var()`/`set_query_var()` (that internally use global `$wp_query` and aren't made specifically for that purpose) or `include( locate_template() )` pattern and so on, but a patch like that would really clean up those approaches.
    22
    3 Even if the patch lost a little bit of his appealing (the view part is moving toward on the client side), IMHO I think it could be still useful.
     3Even if the patch lost a little bit of its charm (the view part is moving toward on the client side), IMHO I think it could be still useful.
    44
    55And about the variable name, `$wp_tmpl_args` it's only a proof of concept. We can choose a better appropriate name