Forums

Table of Contents Plus
[resolved] Multibyte String Detection (2 posts)

  1. jonnyvaughan
    Member
    Posted 9 months ago #

    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/

  2. Michael T
    Member
    Plugin Author

    Posted 9 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.