woocommerce / woocommerce/wc-api-php

iframe in product description

Open
#305 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
PHP
Stars
546
Forks
158
Avg merge
3h 21m
Merged PRs (30d)
2

Description

Hey there, my external application syncs products into WC stores via WC API. I'm experiencing issues when the product description contains iframes, such as youtube videos, etc. These iframes are automatically removed from the description. If I edit the description in WP admin, iframes work well, so I assume it's an API related thing. How could I disable this functionality on server or client side? Thanks in advance

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 product-description request through the WooCommerce API PHP library with an iframe, then compare its result with the same description saved in WP admin. The issue is done when the source of the removal is identified and iframe handling is either preserved or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.