Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI - URL in preview snippet doesn't show permalink until page is published #1875

Closed
michaeltorbert opened this issue Sep 3, 2018 · 4 comments
Projects

Comments

@michaeltorbert
Copy link
Contributor

michaeltorbert commented Sep 3, 2018

Until then it's example.com/?p=123

Reported here: https://wordpress.org/support/topic/permalink-and-page-title/

@michaeltorbert
Copy link
Contributor Author

We need to review this considering Gutenberg. Any fix needs to be tested with and without Gutenberg, in older versions of WP (4.6) and the latest. In the latest it should be tested with Gutenberg and with the visual editor plugin installed.

@contactashish13
Copy link
Contributor

This needs discussion keeping the following in mind:

  • a permalink is created when the post is published. That is why it shows an ugly permalink till the post is in auto-draft status
  • when creating a new post, the post title is empty till the user starts typing.
  • do we want the permalink to keep updating as the title updates?
  • do we want to hide the snippet area till the post is published?

somewhat related to this, do we want the snippet title to keep updating as well?

@michaeltorbert
Copy link
Contributor Author

The permalink is created when a draft is saved as well.

As soon as a permalink is created, ours should update as well.

@arnaudbroes
Copy link
Contributor

arnaudbroes commented Jul 30, 2019

I won't be able to do this for 3.2 but I'll do this properly once #2736 is merged by sending the active permalink setting to our JavaScript code and then generating the permalink for the preview snippet on-the-fly based on the active setting.

@wpsmort wpsmort modified the milestones: 3.2, 3.3 Jul 31, 2019
@arnaudbroes arnaudbroes changed the title URL in preview snippet doesn't show permalink until page is published UI - URL in preview snippet doesn't show permalink until page is published Aug 15, 2019
@arnaudbroes arnaudbroes modified the milestones: 3.3, 3.4 Oct 28, 2019
@benjaminprojas benjaminprojas modified the milestones: 3.4, Future Release Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
UI Changes
v3.0: Other related changes
Development

No branches or pull requests

5 participants