Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi Michal,

    Do you mean that it’s impacting your admin? The plugin is set not to be running on the admin (it’s not looking/modifying anything). However, it adds its menu and settings, but that shouldn’t impact anything.

    The error also happens somewhere totally unrelated to the plugin. In Gutenberg, it seems. I am not sure what’s going on; maybe you could try to make sure everything is up to date in your WordPress? Also, clear your cache and cookies.

    Thread Starter mwww

    (@mwww)

    Hi Jordy,

    Thanks for replying.

    Correct, the Gallery Custom Links plugin is impacting the WordPress Dashboard (/wp-admin/). Actually the plugin seems to be running in the admin only, as it does add input fields to the gallery forms in the admin.

    I’m running the latest version of WordPress and all plugins are up to date.

    For testing purposes, I have deactivated all(!) plugins. The “Parent Page” attribute appeared on /wp-admin/post.php?post=XXX. Once I activated the Gallery Custom Links plugin again, the attribute disappeared. It is clearly an issue with the plugin. It would be great if this could be fixed. Thanks a lot!

    Kind regards,
    Michal

    Thread Starter mwww

    (@mwww)

    I’m not sure why this was flagged as “Resolved”, as it is not resolved and still an open issue.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    I haven’t flagged it in fact, or maybe after the first reply? Not sure. I have a lot of support on my other plugins right now (and they are the priority) so I will take a full day or two to work on Gallery Custom Link in November to fix the issues.

    Meanwhile, it would be great if a developer could chime in and help a bit, the source code is not really complex.

    Thread Starter mwww

    (@mwww)

    Hi Jordy,

    Thanks a lot! Very appreciated.

    Hello, I can confirm this issue and have located the bug at mgcl_core.php > linkify function.

    When applying “gallery_custom_links_classes” filter, an empty string is passed in the value array.

    Change to the following (row 167):
    $classes = apply_filters( ‘gallery_custom_links_classes’, array() );

    Hope this helps!
    Cheers.

    Strike my last comment. Didn’t work. ??

    Hello again, new fix:

    In mgcl_core.php, __construct function, row 22, change action name from ‘init’ to ‘template_redirect’, which will only fire in frontend, thus removing the errors in wp admin.

    add_action( ‘template_redirect’, array( $this, ‘start’ ) );

    Cheers

    Plugin Author Jordy Meow

    (@tigroumeow)

    Okay, I will release the new version now with that change ?? Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘“Parent Page” attribute disappears after plugin activation’ is closed to new replies.