Tag Info

New answers tagged

1

I would suggest using esc_html instead of esc_attr for that, e.g. <a href="<?php echo esc_url( $url );?>" class="<?php echo esc_attr( $classes ); ?>"> <?php echo esc_html( $title ); ?> </a> <div> <?php echo wp_kses_post( $html_with_safe_tags );?> </div> <script> <?php echo wp_json_encode( ...



Top 50 recent answers are included