From e6e4e4c962c3034c6c0db5dd41a2edb23b69ec3b Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Mon, 26 Oct 2020 10:20:29 -0500 Subject: [PATCH] Image to Post - trash --- ext/trash/main.php | 2 +- ext/trash/theme.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/trash/main.php b/ext/trash/main.php index 812cfd69..1bbea8e2 100644 --- a/ext/trash/main.php +++ b/ext/trash/main.php @@ -32,7 +32,7 @@ class Trash extends Extension } elseif (isset($_POST['image_id'])) { $image_id = $_POST['image_id']; } else { - throw new SCoreException("Can not restore image: No valid Image ID given."); + throw new SCoreException("Can not restore post: No valid Post ID given."); } self::set_trash($image_id, false); diff --git a/ext/trash/theme.php b/ext/trash/theme.php index 21733295..74c9bf96 100644 --- a/ext/trash/theme.php +++ b/ext/trash/theme.php @@ -15,10 +15,10 @@ class TrashTheme extends Themelet public function get_help_html() { - return '

Search for images in the trash.

+ return '

Search for posts in the trash.

in:trash
-

Returns images that are in the trash.

+

Returns posts that are in the trash.

'; }