• The issue described below has, for the time being, been resolved. The information provided here is just intended to help in identifying the causes in case it should reappear.

    Issue: Starting at the latest with WP Statistics 14.0 (older versions not tested), German quotation marks were not displayed at all. This problem was mentioned by some other users here previously whithout the issue beeing resolved. It was suggested that for some reason the plugin interfered with the WordPress function wptexturize.

    This problem disappeared with WP Statistics version 14.11; German quotation marks are now displayed correctly.

    • This topic was modified 1 week, 1 day ago by Robert Poth.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Matthew

    (@mhdizmni)

    Hi @rpweb777,

    Thank you for opening the thread!

    We are glad to hear that the issue has been resolved. However, we would greatly appreciate it if you could share screenshots of the issue with us so we can investigate it further.

    Looking forward to your response!

    Regards,
    Matthew

    Thread Starter Robert Poth

    (@rpweb777)

    Hi Matthew,

    I don’t understand how “screenshots” (of wrong quotation marks?) could help in this case.

    The difference between German and English quotation marks is e.g. explained here:.

    https://deutsch.lingolia.com/en/writing/quotation-marks

    Once WP Statistics (starting with version 14.0 up to 14.10) was activated, German quotation marks were replaced by English quotation marks.

    Code for German quotation marks (wp-includes/html-api/class-wp-html-decoder.php)

    0x201A, // 0x82 -> SINGLE LOW-9 QUOTATION MARK (?).
    0x2019, // 0x92 -> RIGHT SINGLE QUOTATION MARK (’).

    0x201E, // 0x84 -> DOUBLE LOW-9 QUOTATION MARK (?).
    0x201D, // 0x94 -> RIGHT DOUBLE QUOTATION MARK (”).

    Same with different WordPress versions and at least four different themes. Same with a bilingual WordPress site I’m developing where you can switch between English and German versions and the quotation marks change accordingly – but not with the mentioned versions of WP Statistics.

    Once these versions of WP Statistics were deactivated, the problem disappeared.

    If the problem is an interference with the function wptexturize (in includes/formatting.php) then a guess would be that it’s somehow related to how the language is determined.

    Plugin Support Matthew

    (@mhdizmni)

    Dear @rpweb777,

    Please accept my apologies if my initial request was unclear.

    To clarify, could you kindly let us know exactly where this issue occurs? Are the quotation marks being replaced in the content of your posts/pages, or are they from strings in the admin area? A screenshot would greatly help us understand the situation better.

    Additionally, please note that we have not been able to reproduce the issue with WP Statistics (tested with version 14.0, 14.9, and 14.10) and WordPress version 6.6.2. For your reference, here are the screenshots: https://i.vgy.me/lun3rN.png -> https://i.vgy.me/oKUJSD.png.

    Thank you for your cooperation!

    Regards,
    Matthew

    Thread Starter Robert Poth

    (@rpweb777)

    Hi Matthew,

    the problem appears in published content (pages, posts etc.). I made two screenshots, one with version 14.10 (wrong) and one with 14.11 (correct), but these are from an installation on localhost. To provide an URL of those images (which seems to be required here) I would have to upload them somewhere. You can spare me this effort if you just believe what I say.

    Plugin Support Matthew

    (@mhdizmni)

    Dear @rpweb777,

    Thank you for clarifying where the issue occurs.

    Please rest assured we’ll continue working to replicate the issue and investigate the cause.

    If you’d like to share screenshots, you can use free image-sharing services such as https://imgbb.com/, https://imgur.com/, or https://vgy.me/.

    Thank you!

    Regards,
    Matthew

    Thread Starter Robert Poth

    (@rpweb777)

    Hi Matthew,

    if you cannot reproduce the issue, then you probably just pasted German text with German quotation marks. That’s not the problem. They will be okay.

    The problem is what happens when you type German text with “quotation marks” in the WordPress editor and save it. These quotation marks will always be the wrong ones (like those in the previous sentence) even in the visual editor (classic). They are replaced by WordPress with German quotation marks only in the published version (post/page), not in the editor. And that’s how it should be.

    But not with WP statistics versions prior to 14.11 activated.

    I provided two screen shots at one of my websites. https://upcycling.rpoth.at/wp-content/uploads/quotation_marks_wpstats-14-10.jpg and https://upcycling.rpoth.at/wp-content/uploads/quotation_marks_wpstats-14-11.jpg I hope they are accessible.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.