Patch: I would like it to fail nicely
-
I would like it to fail nicely when it doesn’t find the page I wanted to insert.
I don’t know how to submit a patch.
4c4
< Plugin Name: Insert Pages (patched)
—
> Plugin Name: Insert Pages
221,223c221
< } else { // the query did not return any posts
< print “<p>’$page’ could not be inserted because it wasn’t found</p>”;
< }
—
> }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Patch: I would like it to fail nicely’ is closed to new replies.