Automattic / Automattic/jetpack

Photon: do not apply Photon when doing an AJAX request in the admin

Open
#722 10 comments 0 reactions 0 assignees View on GitHub
[Feature] Photon Enhancement Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

We already exclude Photon from being applied on admin, but not when working with AJAX in the admin.

Reported here:
- http://wordpress.org/support/topic/jetpack-photon-with-admin-ajaxphp?replies=1

Original trac ticket:
- https://plugins.trac.wordpress.org/ticket/1885

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing Photon exclusion for admin requests and the admin-ajax.php entry point referenced in the issue. Confirm how AJAX requests are identified, then verify that Photon is not applied during admin AJAX requests and that the existing admin behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.