Untitled
in below code $category_link i am getting below issue how can that be resolved <a href="<?php echo $category_link; ?>" <?php setup_gtm_attributes($click_attrs, true);?>> <?php echo $customCategoryOne ? $customCategoryOne : (wp_kses_post($primary->name)); ?></a> All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$category_link' (WordPress.Security.EscapeOutput.OutputNotEscaped). Can we use some kind of phpcs ignore to resolve this or what are other ways to resolve this git issue
Leave a Comment