Opened 7 years ago
Last modified 7 years ago
#44288 new defect (bug)
Inconsistent saving of post slug / url field
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9.6 |
Component: | Posts, Post Types | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Firstly see the issue I raised on the woocommerce github: https://github.com/woocommerce/woocommerce/issues/20285
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)
Note: See
TracTickets for help on using
tickets.
Welcome to Trac!
There are two things I would like to mention here.
Post
orPage
whenWooCommerce
plugin is active? Can you reproduce the same issue with native WordPress post / page URLs?Custom Post Type
inside yourfunctions.php
file and try the same thing and see if you encounter the same issue with and without WooCommerce activated?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.
https://codex.wordpress.org/Function_Reference/register_post_type
Looking forward to see your further findings.