cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
279 stars 83 forks source link

Block: "Shorten title" option gets applied even if theme has shorten_title set as false #360

Closed cabrerahector closed 1 year ago

cabrerahector commented 1 year ago

When selecting a theme that has the shorten_title option set to false (eg. Cards) the "Shorten title" option remains unchecked as expected, however on the front-end the title gets truncated nonetheless as if the option was enabled.

For reference: Titles cut.

cabrerahector commented 1 year ago

Note that this may affect other options as well, let's make sure that checkboxes that (de)activate a feature are all properly handled in \src\Block\Widget\Widget.php.