Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I had the same problem, thanks for the fix batters22!

    However there was one small typo in a variable name, on the last line of your code, that made it bug when I first tried it.

    This line is :
    if($sb_low_class) $bcn_use_term = array_shift($low_class);//and use it
    but should be :
    if($sb_low_class) $bcn_use_term = array_shift($sb_low_class);//and use it

    Gentlefish

    (@gentlefish)

    Thanks for this nice plugin !

    I fixed the mp3 links replacement problem in version 1.1.0 by replacing, in haiku-player.php :
    if ( !empty($haiku_mp3_replace) ) add_filter('the_content', 'haiku_replace_mp3_links');
    by
    if ($haiku_options['replace_mp3_links'] === 'true') add_filter('the_content', 'haiku_replace_mp3_links');

    Same problem for [audio: link.mp3] replacement, it can be fixed the same way, by replacing :
    if ( !empty($haiku_audio_replace) ) add_filter('the_content', 'haiku_replace_audio');
    by
    if ($haiku_options['replace_audio_player'] === 'true') add_filter('the_content', 'haiku_replace_audio');

    Hope this could help !

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