WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jonnyvaughan
    Member
    Posted 2 years 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. Mike
    Member
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.