Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#44288 new defect (bug)

Inconsistent saving of post slug / url field

Reported by: rhurley's profile rhurley Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Posts, Post Types Keywords: reporter-feedback
Focuses: Cc:


Firstly see the issue I raised on the woocommerce github:

I'm trying to use characters such as +, &, * etc in post (in my particular case products) urls, but encoded first obviously (e.g. + becomes %2B).

My process:
See my process to recreate this issue on the github link.

The good people over at the woocommerce github have said this is not a problem on their end but is actually a problem with the wordpress core, in particular how it saves post slugs / urls.

Change History (2)

#1 @subrataemfluence
6 years ago

  • Keywords reporter-feedback added

Welcome to Trac!
There are two things I would like to mention here.

  1. Did you try to create a simple Post or Page when WooCommerce plugin is active? Can you reproduce the same issue with native WordPress post / page URLs?
  2. Did you try the same without WooCommerce activated and able to reproduce the issue?
  3. Is there any chance that you can register a simple Custom Post Type inside your functions.php file and try the same thing and see if you encounter the same issue with and without WooCommerce activated?
  4. I could not see the steps for reproduction (sorry if I overlooked) in your Github link. There are a lot of system information listed though under Details section of your post.

Although this may not look directly related to your question but WooCommerce also creates Custom Post Type as Product. So it is a good way to test whether you are able to reproduce the same error with another Custom Post Type.

Looking forward to see your further findings.

#2 @SergeyBiryukov
6 years ago

  • Component changed from General to Posts, Post Types
Note: See TracTickets for help on using tickets.