Bug: Attributes need to be escaped in Linked_posts.php
-
The “data-create-choice-template” attribute on the select field in the Linked_Posts.php file needs to be escaped. Otherwise you see the following error (image) when trying to create a post.
Please update this for your next release:
data-create-choice-template="<?php echo esc_attr( sprintf( __('Create: %s', 'the-events-calendar' ), '<%= term %>' ) ); ?>"
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.