avryl/wp-front-end-editor — pull request #204 by christianwach (2014-12-17 13:50:21+00:00)
Title: Prevent fatal error when `get_sample_permalink()` not present

I have found that `get_sample_permalink()` is not always available and that WordPress Front-end Editor throws a fatal error when calling it. This PR solves the problem in the same manner it's solved elsewhere in WordPress Front-end Editor.