ellatrix / wp-front-end-editor

Front-end Editor for WordPress
https://wordpress.org/plugins/wp-front-end-editor/
340 stars 87 forks source link

Prevent fatal error #230

Closed christianwach closed 8 years ago

christianwach commented 9 years ago

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.

Replaces #204

solhuebner commented 9 years ago

:+1:

ellatrix commented 8 years ago

Why is it not always available? That needs to be known.

ellatrix commented 8 years ago

But I think the functionality that uses it is now gone so this can be removed.