• Resolved jonpbradley

    (@jonpbradley)


    I set this plugin up for a client and it all works fine but just in the last day or so the size of the text in the footer has increased. We’ve tried changing it with inline and class based CSS but nothing has any impact. Can anyone help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @jonpbradley,

    First, I would like to apologize for the inconvenience caused by this bug.

    Please note that we have already solved it (here) and we should release a beta version soon.

    That said, while we prepare the next public release, I recommend you to downgrade the plugin temporarily to the previous version, by manually installing the version 3.9.6, which you can get here: https://downloads.wordpress.org/plugin/woocommerce-pdf-invoices-packing-slips.3.9.6.zip

    If you’re wondering about the cause of this bug, it was introduced in the latest version (4.0.0), because the WordPress.org Plugin Team asked us to apply some changes to be compliant with their current requirements, therefore, we added stricter sanitation and security methods for data insertion fields, like the shop data fields, but the HTML cleanup we developed is very strict, producing this kind of behavior when you have used specific HTML tags or attributes that are not allowed by default.

    We have decided to use a less strict function for the shop fields (the wp_kses_post function provided by WordPress), since these fields are not filled externally, but by the shop manager instead. However, we continue using our own sanitation method (wpo_wcpdf_sanitize_html_content) to clean other fields, like the details provided by the customers (addresses, notes, etc.)

    I’ll keep you posted as soon as the new version is available!

    Thread Starter jonpbradley

    (@jonpbradley)

    Thanks for the quick reply – downgrade works! I’ll keep an eye out for the new version.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @jonpbradley,

    Just so you know, the fix for this issue was included in the latest public release. You can update to receive it, along with other improvements we have introduced.

    Let me know if you need more help!

    Thread Starter jonpbradley

    (@jonpbradley)

    Great, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Footer text size has increased and I don’t know why!’ is closed to new replies.