• I recently noticed many of the custom size charts I added as html are not displaying correctly anymore and new ones cannot be added without losing formatting and displaying just text.

    Is there a way to add that functionality back?

Viewing 1 replies (of 1 total)
  • Thread Starter jaspix

    (@jaspix)

    For anyone dumb enough like me to use this as their size guide for all of their non printful products and need html rendering change esc-htmlfor wp_kses_post in class-printful-size-chart-tab.php

    	public function size_chart_tab_content() {
    echo '<h2>' . esc_html__( 'Size Chart', 'printful' ) . '</h2>';
    echo esc_html($this->get_size_chart_content());
    }

    for

    	public function size_chart_tab_content() {
    echo '<h2>' . esc_html__( 'Size Chart', 'printful' ) . '</h2>';
    echo wp_kses_post($this->get_size_chart_content());
    }
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.