Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42057, comment 6


Ignore:
Timestamp:
10/01/2017 07:35:00 PM (7 years ago)
Author:
williampatton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42057, comment 6

    initial v1  
    1 The `searchform.php` template is added with an `include` meaning that the $args array available in the get_search_form() local scope will also be available in the searchform.php file :)
     1The `searchform.php` template is added with an `require` meaning that the $args array available in the get_search_form() local scope will also be available in the searchform.php file :)
    22
    33It may be better for me to move the aria-label generation portion of my additions take place before the include so that the label is available to use in those files without need of possible redundant post-processing.
     4
     5EDIT: corrected 'include' to 'require'.