Changes between Initial Version and Version 1 of Ticket #21676, comment 74
- Timestamp:
- 06/07/2020 05:24:48 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21676, comment 74
initial v1 2 2 I used `$wp_tmpl_args` as scoped variable name, but we could chose another one in order to avoid possible conflicts. 3 3 4 Core devs already added this approach in 5.2.0 to `get_search_form()` function. For example, **twentytwenty** theme uses it by passing `array( 'label' => ... )` as scoped arguments to ''searchform.php'' template, so I cannot se any reasonable why to don't apply it also to other `get_*` template family functions.4 Core devs already added this approach in 5.2.0 to `get_search_form()` function. For example, **twentytwenty** theme uses it by passing `array( 'label' => ... )` as scoped arguments to ''searchform.php'' template, so I cannot see any reasonable why to don't apply it also to other `get_*` template family functions.