Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Saving in Classic Editor shouldn't redirect to Gutenberg
`get_edit_post_link` is used in `post.php` to redirect when saving. See https://core.trac.wordpress.org/browser/trunk/src/wp-admin/post.php#L190 By checking to see if the referer is the classic editor, modification to the edit post link is preserved. Introduced in #1797 Fixes #2707
- Loading branch information