From b39ad92481a93bfa1c599512f9f01146d55a0f84 Mon Sep 17 00:00:00 2001 From: Ritika Desai Date: Mon, 30 Oct 2023 16:17:39 -0400 Subject: [PATCH 1/2] added self closing character to img tags --- .../admin/class-phila-gov-department-sites.php | 4 ++-- .../public/shortcodes/program-tiles.php | 2 +- wp/wp-content/themes/phila.gov-theme/front-page.php | 4 ++-- wp/wp-content/themes/phila.gov-theme/header.php | 2 +- wp/wp-content/themes/phila.gov-theme/inc/custom-header.php | 4 ++-- .../themes/phila.gov-theme/partials/content-feedback.php | 2 +- .../partials/departments/content-get-involved.php | 2 +- .../partials/departments/phila_linked_image_grid.php | 2 +- .../partials/departments/ppr/ppr-feat-locationType-card.php | 2 +- .../partials/departments/v2/collection-page.php | 2 +- .../partials/departments/v2/content-footer.php | 4 ++-- .../partials/departments/v2/homepage_programs.php | 2 +- .../phila.gov-theme/partials/departments/v2/member_list.php | 2 +- .../phila.gov-theme/partials/departments/v2/photo-callout.php | 2 +- .../phila.gov-theme/partials/departments/v2/things-to-do.php | 2 +- .../themes/phila.gov-theme/partials/event-spotlight/card.php | 2 +- .../phila.gov-theme/partials/event-spotlight/header.php | 2 +- .../phila.gov-theme/partials/posts/action-guide-title.php | 2 +- .../themes/phila.gov-theme/partials/programs/header.php | 2 +- .../themes/phila.gov-theme/templates/single-off-site.php | 2 +- wp/wp-includes/SimplePie/Parser.php | 4 ++-- 21 files changed, 26 insertions(+), 26 deletions(-) diff --git a/wp/wp-content/plugins/phila.gov-customization/admin/class-phila-gov-department-sites.php b/wp/wp-content/plugins/phila.gov-customization/admin/class-phila-gov-department-sites.php index f95f153157..9c8fabdb02 100644 --- a/wp/wp-content/plugins/phila.gov-customization/admin/class-phila-gov-department-sites.php +++ b/wp/wp-content/plugins/phila.gov-customization/admin/class-phila-gov-department-sites.php @@ -112,7 +112,7 @@ function content_blocks_shortcode( $atts ) { $block_image = isset( $array_value['phila_block_image'] ) ? $array_value['phila_block_image'] : ''; if ( !$block_image == '' ) { - $output .= ''; + $output .= ''; } $block_title = isset( $array_value['phila_block_content_title'] ) ? $array_value['phila_block_content_title'] : ''; @@ -128,7 +128,7 @@ function content_blocks_shortcode( $atts ) { $block_image = isset( $array_value['phila_block_image'] ) ? $array_value['phila_block_image'] : ''; if ( !$block_image == '' ) { - $output .= ''; + $output .= ''; } $output .= '
'; diff --git a/wp/wp-content/plugins/phila.gov-customization/public/shortcodes/program-tiles.php b/wp/wp-content/plugins/phila.gov-customization/public/shortcodes/program-tiles.php index 956161060b..f6db8d4ef8 100644 --- a/wp/wp-content/plugins/phila.gov-customization/public/shortcodes/program-tiles.php +++ b/wp/wp-content/plugins/phila.gov-customization/public/shortcodes/program-tiles.php @@ -26,7 +26,7 @@ function program_tile_shortcode($atts){ $output .= '" href="' . get_the_permalink($id) . '">'; $img = rwmb_meta( 'prog_header_img', $args = array( 'size' => 'medium', 'limit' => 1 ), $id ); $img = reset( $img ); - $output .= '' . $img['alt'] . ''; + $output .= '' . $img['alt'] . ''; $output .= '

'. get_the_title($id) . '

'; $output .= '

' . rwmb_meta( 'phila_meta_desc', array() ,$id) . '

'; $output .= '
diff --git a/wp/wp-content/themes/phila.gov-theme/front-page.php b/wp/wp-content/themes/phila.gov-theme/front-page.php index 99d716a953..31cbd85530 100644 --- a/wp/wp-content/themes/phila.gov-theme/front-page.php +++ b/wp/wp-content/themes/phila.gov-theme/front-page.php @@ -14,7 +14,7 @@
- +
@@ -162,7 +162,7 @@
'medium', 'limit' => 1), $post = '27984')[0]['url']; ?> - +

Parks & Recreation Finder

diff --git a/wp/wp-content/themes/phila.gov-theme/header.php b/wp/wp-content/themes/phila.gov-theme/header.php index 6da3b01529..805270f37a 100644 --- a/wp/wp-content/themes/phila.gov-theme/header.php +++ b/wp/wp-content/themes/phila.gov-theme/header.php @@ -163,7 +163,7 @@
diff --git a/wp/wp-content/themes/phila.gov-theme/inc/custom-header.php b/wp/wp-content/themes/phila.gov-theme/inc/custom-header.php index 585ce8bfd0..23b9936de3 100644 --- a/wp/wp-content/themes/phila.gov-theme/inc/custom-header.php +++ b/wp/wp-content/themes/phila.gov-theme/inc/custom-header.php @@ -7,7 +7,7 @@ - + @@ -118,7 +118,7 @@ function phila_gov_admin_header_image() {

onclick="return false;" href="">

>
- +
- +