wp-media / wp-media/imagify-plugin

Deprecation warning during the checkout process

Open
#591 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: low type: enhancement UI
Dominant language
PHP
Stars
82
Forks
31
Avg merge
5d 10h
Merged PRs (30d)
9

Description

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version
  • Used the search feature to ensure that the bug hasn’t been reported before

Describe the bug
During the checkout process, we can see the deprecation warning:
[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

To Reproduce
Steps to reproduce the behavior:

  1. Start the checkout process within the plugin
  2. Open the JS console
  3. Go through the process
  4. See error

Expected behavior
We should prevent this from happening

Screenshots
image

Additional context
https://xhr.spec.whatwg.org/

Backlog Grooming (for WP Media dev team use only)

  • Reproduce the problem
  • Identify the root cause
  • Scope a solution
  • Estimate the effort

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the checkout process and watching the browser's JavaScript console for the synchronous XMLHttpRequest warning. Trace the checkout entry point to identify its source, then verify that the warning no longer appears while the checkout flow still completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.