In the course_unit_details shortcode, when I pass unit_page_title_tag_class, the HTML doesn't output class=. Instead, when it is rendered, it just displays the class name that I've entered.
For example, here is what I have in the shortcode:
do_shortcode('[course_unit_details unit_id="' . get_the_ID() . '" field="unit_page_title" unit_page_title_tag="h1" unit_page_title_tag_class="page-title" unit_title="'.get_the_title().'"]');
I was expecting to see this in the output:
<h1 class="page-title">Sed egestas erat nec purus: Page 2</h1>
But instead I get:
<h1 page-title="">Sed egestas erat nec purus: Page 2</h1>
I was able to fix this by editing line 3229 in coursepress > includes > classes > class.shortcodes.php but can this be edited in the plugin?