Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hello jemar,

    WordPress runs wpautop() on the comment_text. When threading is disabled the report link gets added to that comment text and linebreaks get changed into ‘<br />’ elements.
    The development version has a change that should fix this:
    https://codeberg.org/cyclotouriste/zeno-report-comments

    To fully disable wpautop for all comment text add this PHP code to functions.php of your theme.

    function zeno_report_comments_frontend_remove_wpautop() {
    remove_filter( 'comment_text', 'wpautop', 30 );
    }
    add_action( 'init', 'zeno_report_comments_frontend_remove_wpautop' );

    Thread Starter jemar707

    (@jemar707)

    Thank you for the reply. Is there an estimated date the next version will be updated?

    Plugin Author Marcel Pol

    (@mpol)

    I don’t know. It won’t be this week.

    The current version in git only has two changes that are relatively safe.

    There has been other feedback for this plugin, I prefer to have more changes go in before making a release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Size Around Report Button’ is closed to new replies.