• I post via email and and it’s been working fine until 2.6 upgrade. I send a plain text email with the following:

    <phpcode><?php jal_democracy(730); ?></phpcode>
    
    Some text here...

    I’m using PHP-Exec and Democracy poll plugins. The first line is now being stripped out when posts are inserted into the db. I tried commenting out this line in wp-mail.php, but it didn’t help:

    $content = strip_tags($content[1], '<img><p><br /><i><b><u><em><strong><strike><font><span><div>');

    I also tried adding ‘<phpcode>’ to the allowable tags, but that didn’t help either.

    Any ideas?

  • The topic ‘wp-mail stripping <phpcode> tags’ is closed to new replies.