• Resolved raidenelite

    (@raidenelite)


    Hello, i activated a theme but i couldn’t see any meta in the head while checking the page source

    I checked the code for a little and looks like it’s not allowed in your function “wp_kses_wf($html)(under-construction.php line 4981)

    I added this code and then the meta showed

    $allowed_tags['meta'] = array(
    
                'name' => true,
    
                'content' => true,
    
                'charset' => true,
    
                'http-equiv' => true
    
            );
    

    was it my problem or does the code actually removes the meta from the html?
    apparently you let users add description meta tag so i’m just more confused

Viewing 1 replies (of 1 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Due to the latest security guidelines, WordPress requires plugins to filter any outputted content, but I guess meta tags are safe to use so we will whitelist them in a future update as you did ??

Viewing 1 replies (of 1 total)
  • The topic ‘Meta tags not allowed?’ is closed to new replies.