Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Permalink slug preview showing number instead of Greek Slug #42232

Open ash1eygrace opened 4 years ago

ash1eygrace commented 4 years ago

Steps to reproduce

  1. Starting at any WordPress.com Personal, Premium site (or Business site with 8.0 Gutenberg plugin active).
  2. Create a new page or post
  3. Add a title in Greek (example: "Συνέντευξη της χρωματικής συμβούλου"
  4. Check the Permalink/Slug preview field of the page and notice it's a number

Afterward:

  1. Publish the page or post and see that the permalink is using the Greek title instead of the number that is shown in the editor.

What I expected

In step 4, I expect the Slug to be previewed as συνέντευξη-της-χρωματικής-συμβούλου in the editor to reflect what the permalink will show once the page or post is published.

What happened instead

Instead, in the editor, it displays a number the slug preview field, but once the page is published the permalink is actually showing the title.

Browser / OS version

Chrome/81.0.4044.138 / OS X 10.15.4 <- tested with

Screenshot / Video

On a Simple Site Free site, the editor shows the number in the slug preview field, but once published the slug is using the Greek title as shown in this video here: https://d.pr/v/2BPoMi

Other videos and tests:

Context / Source

zd-2971946

nagpai commented 4 years ago

I am able to replicate this error with Hindi language on a Premium plan loaded test site. The site language setting is English though.

swoodipto commented 4 years ago
martynmjones commented 3 years ago

Had a similar issue in 27044296-hc

On a testing site I wasn't able to change the slug before publishing either it would revert to the post ID