SilentComics /
Strip
| 1 | <?php |
||||||
| 2 | /** |
||||||
| 3 | * The template for displaying search forms |
||||||
| 4 | * |
||||||
| 5 | * @package WordPress |
||||||
| 6 | * @subpackage Strip |
||||||
| 7 | */ |
||||||
| 8 | |||||||
| 9 | ?> |
||||||
| 10 | <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> |
||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
The function
esc_url was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 11 | <label> |
||||||
| 12 | <span class="screen-reader-text"><?php echo esc_attr_x( 'Search for:', 'label', 'strip' ); ?></span> |
||||||
|
0 ignored issues
–
show
The function
esc_attr_x was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 13 | <input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search?', 'placeholder', 'strip' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" /> |
||||||
|
0 ignored issues
–
show
The function
esc_attr was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
The function
get_search_query was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 14 | </label> |
||||||
| 15 | <input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'strip' ); ?>"> |
||||||
| 16 | </form> |
||||||
| 17 |