humanmade / humanmade/tachyon-plugin

Images within Admin AJAX not handled

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
86
Forks
16
PR merge metrics
No merged PRs in 30d

Description

The Tachyon plugin currently doesn't handle any images served via admin-ajax by default. This leads to missed expectations whereby images loaded for the frontend via admin-ajax (infinite loading or load more functionality, for example) are only partially passed through Tachyon. The main image URL is _not_ Tachyoned, but the srcsets are.

One could modify this behavior with the `tachyon_disable_in_admin` filter and custom logic, but I would expect the plugin to be able to do some default differentiation and tell whether or not it should handle images in an admin-ajax context.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.