Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always apply post_gallery filter #39

Open
tyrann0us opened this issue Sep 6, 2018 · 0 comments
Open

Always apply post_gallery filter #39

tyrann0us opened this issue Sep 6, 2018 · 0 comments
Assignees
Labels

Comments

@tyrann0us
Copy link
Owner

Currently, post_gallery will only be filtered if !is_admin(). When gallery HTML is requested in an ajax call, the filter won't run because ajax happens in is_admin().

See https://wordpress.org/support/topic/do_shortcode-from-ajax-response/.

@tyrann0us tyrann0us added the bug label Sep 6, 2018
@tyrann0us tyrann0us self-assigned this Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant