Support » Plugin: WP Statistics » Plugin breaks ‘wptexturize’ functionality

  • Hi,

    the plugin seems to break the functionality of wptexturize(). I noticed on my German websites that quote marks are not being converted to language specific versions if the plugin is activated. This is true for all fields where I speficically use wptexturize() (“the_title”, “the_content”, custom fields).

    WP Version: 5.0.2

    Kind Regards

    • This topic was modified 8 months, 1 week ago by  bubdev.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mostafa Soufi



    Please make sure the Hits in single page option in setting page is disabled.

    It may some plugin have effects to some hooks.

    Thanks, but the option was already disabled. It must be something else.

    Plugin Author Mostafa Soufi


    Could you please try to disable another plugins?

    I just tested it on a site with no other plugins installed than WP Statistics and running the Twenty Seventeen theme. The problem persists.

    Plugin Author Mostafa Soufi


    It’s very strange because we don’t use any hooks related to wptexturize.

    Do you have any custom hook in your functions.php?

    No, on this test site there’s nothing custom at all. Fresh WP install, no other plugins, just the default theme, typical web hosting (SiteGround). Now also tried the new default theme, Twenty Nineteen. The problem remains.

    Plugin Author Mostafa Soufi


    Please enable WP_DEBUG in your WordPress to see the current error.

    There’s no related error showing with WP_DEBUG enabled. In the meantime, I had to finish up the project and hand it over to the client. As a solution I decided on using str_replace() instead of relying on wptexturize() to achieve localized quote marks, which works reasonably well.

    Thanks a lot for your time and help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin breaks ‘wptexturize’ functionality’ is closed to new replies.