Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add needed attributes to kses allowed tags for the Gallery block #9875
The Gallery block uses
This PR adds a filter function that adds the attributes we need.
How has this been tested?
Log in with a user with the author role.
The gallery block should load and be editable as expected.
Types of changes
referenced this pull request
Sep 13, 2018
@notnownikki: For testing this, it'd be good to have a test that ran over each
@pento ok, I wrote the test, and we have other failures. I'd like to get this in to 3.9 and address the other failures in a different PR. Some of the failures are just simple spacing fails, but some are aria attributes that kses is stripping out, which I don't think affects the block loading/saving functionality like it does with the gallery, but will take more time to go through and fix.