• dglite

    (@dglite)


    Hi, I Found a bug and fixed, with HTML special chars…
    It was not passing, pls check this hack, hope helps someone, thks!

    public_html/wp-content/plugins/wc-custom-stock-status/wc-custom-stock-status.php

    
    $availability['availability'] = '<p><b><span style="color:' . $color . ';font-size:16pt;">' . $label . '</span></b></p>';
    
    echo htmlspecialchars_decode($availability['availability']); 
    			}
    // return $availability; /* CRAION.COM */
    
  • The topic ‘Found a bug and fixed, with HTML special chars…’ is closed to new replies.