Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • i just played around a little bit with the inline post feature and stumpled over some tiny mce tag filtering problem … add the following lines to “xspf_player.php” so tiny mce doesn′t filter the <xspf>…</xspf> tags any longer:

    add this line to the xspf_player constructor function:


    add_filter('mce_valid_elements', array('xspf_player', 'mce_valid_elements'));

    add these lines anywhere to the xspf_player class:


    function mce_valid_elements ($valid_elements)
    {
    if (empty ($valid_elements))
    return "xspf";
    return $valid_elements . ",xspf";
    }

    tested with wordpress 2.0.4 & xspf plugin 3.1

    hope this helps…

    happy coding

    My workaround:
    Change line 864 in /wp-includes/classes.php from:

    var $use_verbose_rules = false;

    to:

    var $use_verbose_rules = true;

    if you change this all extra rewrite rules are added to your .htaccess.

    use_verbose_rules is used in the function mod_rewrite_rules() (starts at line 1334). it′s not set anywhere else. there is no mapping in the options database table. seems to be not finished yet…

    hope this helps.

Viewing 2 replies - 1 through 2 (of 2 total)