• 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
    Stefan

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

    (@mostafas1990)

    Hi,

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

    It may some plugin have effects to some hooks.

    Thread Starter bubdev

    (@bubdev)

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

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    Could you please try to disable another plugins?

    Thread Starter bubdev

    (@bubdev)

    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

    (@mostafas1990)

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

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

    Thread Starter bubdev

    (@bubdev)

    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

    (@mostafas1990)

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

    Thread Starter bubdev

    (@bubdev)

    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.