File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1874,9 +1874,9 @@ protected function renderMetaGridCategories() {
18741874 }
18751875 ?>
18761876 <span class="obfx-grid-categories-item">
1877- <a href="<?php echo get_category_link ( $ category ->term_id ); ?> "
1878- title="<?php echo $ category ->name ; ?> ">
1879- <?php echo $ category ->name ; ?>
1877+ <a href="<?php echo esc_url ( get_category_link ( $ category ->term_id ) ); ?> "
1878+ title="<?php echo esc_attr ( $ category ->name ) ; ?> ">
1879+ <?php echo esc_html ( $ category ->name ) ; ?>
18801880 </a>
18811881 </span>
18821882 <?php
@@ -1909,8 +1909,8 @@ protected function renderMetaGridTags() {
19091909 }
19101910 ?>
19111911 <span class="obfx-grid-tags-item">
1912- <a href="<?php echo get_tag_link ( $ tag ->term_id ); ?> " title="<?php echo $ tag ->name ; ?> ">
1913- <?php echo $ tag ->name ; ?>
1912+ <a href="<?php echo esc_url ( get_tag_link ( $ tag ->term_id ) ) ; ?> " title="<?php echo esc_attr ( $ tag ->name ) ; ?> ">
1913+ <?php echo esc_html ( $ tag ->name ) ; ?>
19141914 </a>
19151915 </span>
19161916 <?php
You can’t perform that action at this time.
0 commit comments