Support » Plugin: Table of Contents Plus » [Plugin: Table of Contents Plus] Multibyte String Detection

  • Resolved jonnyvaughan

    (@jonnyvaughan)


    I had a problem with your plugin when I installed it – it seems the code you use to detect multibyte string support in mb_find_replace() wasn’t working as expected and the code bombed out with a fatal error.

    I changed the detection code from:
    function_exists('mb_substr')
    to:
    function_exists('mb_strpos')
    which solved the problem.

    I’m not familiar with multibyte string functions so I’m not sure why my fix worked but it did 🙂

    Jonny

    http://wordpress.org/extend/plugins/table-of-contents-plus/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike

    (@conjur3r)

    Thanks for that. That’s pretty weird how it would give you the error on a call like that huh?!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Table of Contents Plus] Multibyte String Detection’ is closed to new replies.