Skip to content

Gallery Block doesn't apply the 'post_gallery' filter, causing incompatibility with WP Gallery Custom Links #5972

Closed

Description

@mrleemon

Issue Overview

The WP Gallery Custom Links plugin adds a “Gallery Link URL” field when editing gallery images so users are able to create galleries which link to external resources.

https://es.wordpress.org/plugins/wp-gallery-custom-links/

The plugin continues to work on the backend with Gutenberg active, but links are ignored on the frontend.

Steps to Reproduce (for bugs)

  1. Install the WP Gallery Custom Links plugin and activate it
  2. Add a Gallery block to a post and specify custom URLs in some images
  3. Save the post
  4. View the post

Firefox and Chrome

Expected Behavior

The custom links added to gallery images should appear on the frontend

Current Behavior

The custom links added to the gallery images are not appearing on the frontend, gallery images are not clickable

Possible Solution

Screenshots / Video

Related Issues and/or PRs

Todos

Activity

  1. added
    [Type] Plugin Interoperability
    on Apr 4, 2018
  2. added
    Backwards Compatibility
    on May 18, 2018
  3. added this to the milestone on May 18, 2018
  4. danielbachhuber commented on May 18, 2018

    @danielbachhuber
    Member

    Related #1451

    We need to decide whether Gutenberg needs to support the post_gallery filter, or whether we should expect Gutenberg support for these plugins to be a graceful enhancement.

  5. danielbachhuber commented on May 21, 2018

    @danielbachhuber
    Member

    I've documented this incompatibility in the migration guide.

  6. changed the title [-]WP Gallery Custom Links plugin is not compatible[/-] [+]Gallery Block doesn't apply the 'post_gallery' filter, causing incompatibility with WP Gallery Custom Links[/+] on May 21, 2018
  7. added
    [Feature] Media
    on Aug 14, 2018
  8. removed this from the Merge: Back Compat milestone on Oct 3, 2018
  9. added
    Needs Technical Feedback
    on Oct 3, 2018
  10. added this to the WordPress 5.0 milestone on Oct 3, 2018
  11. added
    [Block] Gallery
    on Oct 26, 2018
  12. antpb commented on Oct 26, 2018

    @antpb
    Contributor

    Going to close as discussed in the recent core-media meeting in favor of keeping things focused on #1451

    Support for the post_gallery filter will be solved with a fallback to the gallery shortcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backwards CompatibilityNeeds Technical Feedback[Block] Gallery[Feature] Media[Type] Plugin Interoperability

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions