Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Oliver Campion

    (@domainsupport)

    Hi,

    Can you please explain exactly what you mean by this? Please provide exact steps to recreate the issue.

    Thank you.

    Oliver

    Thread Starter Matthias Erker

    (@dbase66)

    There is no great difficulty.

    Login as ADMIN
    go to /wp-admin/widgets.php

    You will see the problem by choosing any Widget, especially categories-Widget (default-Widget of TwentyTwenty)

    Thread Starter Matthias Erker

    (@dbase66)

    But before, you have to choose to display Copyright Link in Section “Footer Options” in Customizer – Menu of Options for TwentyTwenty – Plugin

    Plugin Author Oliver Campion

    (@domainsupport)

    OK, thank you for bringing this to our attention. For some reason the REST API is calling the wp_footer hook when requesting a widget to be previewed in the admin area. We’ve produced a fix which will be pushed out on the next update and I’ll let you know when that’s done here.

    In the meantime, please just ignore this issue as it will only affect the admin area, not the front end.

    Oliver

    Thread Starter Matthias Erker

    (@dbase66)

    No problem! Thank you for your fast reaction!
    YOAST has the same problem with breadcrumb – Navigation. ??

    Plugin Author Oliver Campion

    (@domainsupport)

    OK, I’ll double check all options that make use of the wp_footer hook. Thanks again.

    Plugin Author Oliver Campion

    (@domainsupport)

    OK, I’ve been looking into this again and have discovered that this only happens when you use a legacy widget like “Custom HTML”.

    Can you please try one of the following two possible fixes …

    1. Install and activate Classic Widgets plugin (if you have to use legacy widgets)
    2. Replace the “Categories” legacy widget block with a “Categories List” block

    It would appear that using legacy widgets in the block widget editor requires the wp_footer to be called which is injecting superfluous content into the widget.

    This is a known bug in WordPress Core, or more specifically, Gutenberg.

    Oliver

    Thread Starter Matthias Erker

    (@dbase66)

    Screenshot 2022-12-30 101146.jpg (872×690) (me22.de)

    http://www.me22.de/Bilder/Screenshot%202022-12-30%20101146.jpg
    Thread Starter Matthias Erker

    (@dbase66)

    I do not use custom html widget.

    i will try your suggestion with other widget plugin.
    and I will waiting for your solution!

    Plugin Author Oliver Campion

    (@domainsupport)

    What widget is it? All the legacy widgets fire the wp_footer hook.

    Thread Starter Matthias Erker

    (@dbase66)

    the problem is the link “über mich”. this is the “about us” Part of the footer injection.
    one widget is called “META”, standart widget of twentytwenty

    Plugin Author Oliver Campion

    (@domainsupport)

    Yes, that’s a Legacy Widget.

    The bug is with WordPress Core. The solution is to either use the “Classic Widgets” plug-in or move to use a different Block Widget instead.

    Thread Starter Matthias Erker

    (@dbase66)

    OK, so i must wait ?? THX!!!

    Plugin Author Oliver Campion

    (@domainsupport)

    Looking at the bug report it’s not been updated since January 2021 so I think it could be a long wait.

    I suspect that because it only affects Legacy Widgets, they don’t see the urgency to fix the issue.

    My best recommendation would be for you to move away from using Legacy Widgets and replace them with similar Block Widgets.

    That will solve the issue without you needing to wait.

    Oliver

    Thread Starter Matthias Erker

    (@dbase66)

    I too believe that, i think they working on fullsite themes, so, old widgets will be out of sight.

    maybe i change to fullsite – themes complete

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘copyright is injected in Widget Preview’ is closed to new replies.