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

Fix the Post Edit URL when saving a post/page/CPT #3064

Merged
merged 1 commit into from Oct 19, 2017

Conversation

youknowriad
Copy link
Contributor

This PR fixes the browser's URL when a new post (of any type) get saved.

Testing instructions

  • click add new post
  • write some text
  • save draft or wait for autosave
  • verify the URL changes to something a la http://127.0.0.1/wp-admin/post.php?post=199&action=edit
  • reload the page, the content should still be there

@youknowriad youknowriad added the [Type] Bug An existing feature does not function as intended label Oct 19, 2017
@youknowriad youknowriad self-assigned this Oct 19, 2017
@jasmussen
Copy link
Contributor

Can confirm that this works exactly as expected for me, nice work! 👍 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants