From ae41d3cc9a40739e6f6a67fcd79c92c9065a601f Mon Sep 17 00:00:00 2001
From: Paul Biron <paul@sparrowhawkcomputing.com>
Date: Tue, 10 Jul 2018 10:00:08 -0600
Subject: [PATCH] correct closing </form> tag for form.archive-filter-form.
---
inc/template-tags.php | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/inc/template-tags.php b/inc/template-tags.php
index a9f63a3..f16d7cf 100644
a
|
b
|
namespace DevHub { |
579 | 579 | |
580 | 580 | return $change_types; |
581 | 581 | } |
582 | | |
| 582 | |
583 | 583 | /** |
584 | 584 | * Checks if given post type is one of the parsed post types. |
585 | 585 | * |
… |
… |
namespace DevHub { |
1714 | 1714 | $form .= __( 'Filter by post type:', 'wporg' ) . ' '; |
1715 | 1715 | $form .= '<select name="post_type[]" id="post-type-archive-filter">'; |
1716 | 1716 | $form .= $options . '</select></label>'; |
1717 | | $form .= "<input class='shiny-blue' type='submit' value='Filter' /></form>"; |
1718 | 1717 | |
1719 | 1718 | if ( 'wp-parser-since' === $taxonomy ) { |
1720 | 1719 | // @todo it might make for a better UX to detect whether there are |
… |
… |
namespace DevHub { |
1741 | 1740 | $form .= '<select name="change_type" id="change-type-archive-filter">'; |
1742 | 1741 | $form .= $options . '</select></label>'; |
1743 | 1742 | } |
1744 | | |
| 1743 | |
| 1744 | $form .= "<input class='shiny-blue' type='submit' value='Filter' /></form>"; |
| 1745 | |
1745 | 1746 | echo $form; |
1746 | 1747 | } |
1747 | 1748 | |