woocommerce / woocommerce-rest-api

This is the WooCommerce core REST API Package. It runs standalone as a feature plugin too.
71 stars 46 forks source link

Create product api issue in title if i am using & in title #244

Closed pradeepgadiya closed 3 years ago

pradeepgadiya commented 3 years ago

i want to create a product through API and using in title & sign like shoes & sandals . title proper showing all product listing but once i open this product i was showing title in decode form like this shoes & sandals. I want my title like this shoes & sandals.

can you please suggest me how can i use & symbol in api? Thanks

vedanshujain commented 3 years ago

You are seeing the decoded title in edit view, but for the customer & will be shown as it is, so it's only you (and other admins) who is seeing the decoded version, but customers on your site will see what you intended. Unfortunately this is a WordPress core issue and not a WooCommerce one, and we won't be able to tell when it will be fixed.

Note that & in titles is generally not recommended for SEO reasons.

Closing since the issue is upstream.