js code not stored in database currectly
If you search WordPress core for < or > you will find the function _wp_specialchars in /wp-includes/formatting.php Then if you search for _wp_specialchars you will see it is used in esc_js (as well as esc_html and esc_attr) so do not use esc_js, escaping is mostly for output anyway. Further search results show that in /wp-includes/default-filters.php … Read more