diff --git a/ext/admin/info.php b/ext/admin/info.php index 4a396aa9..55cea22d 100644 --- a/ext/admin/info.php +++ b/ext/admin/info.php @@ -15,9 +15,9 @@ class AdminPageInfo extends ExtensionInfo
Lowercase all tags:
Set all tags to lowercase for consistency
Recount tag use:
-
If the counts of images per tag get messed up somehow, this will reset them, and remove any unused tags
+
If the counts of posts per tag get messed up somehow, this will reset them, and remove any unused tags
Database dump:
Download the contents of the database in plain text format, useful for backups.
-
Image dump:
-
Download all the images as a .zip file (Requires ZipArchive)";
+
Post dump:
+
Download all the posts as a .zip file (Requires ZipArchive)";
}
diff --git a/ext/admin/test.php b/ext/admin/test.php
index 0e4852bf..e0f5b919 100644
--- a/ext/admin/test.php
+++ b/ext/admin/test.php
@@ -28,14 +28,14 @@ class AdminPageTest extends ShimmiePHPUnitTestCase
// Validate problem
$page = $this->get_page("post/view/$image_id_1");
- $this->assertEquals("Image $image_id_1: TeStCase$ts", $page->title);
+ $this->assertEquals("Post $image_id_1: TeStCase$ts", $page->title);
// Fix
send_event(new AdminActionEvent('lowercase_all_tags'));
// Validate fix
$this->get_page("post/view/$image_id_1");
- $this->assert_title("Image $image_id_1: testcase$ts");
+ $this->assert_title("Post $image_id_1: testcase$ts");
// Change
$_POST["tag"] = "TestCase$ts";
@@ -43,7 +43,7 @@ class AdminPageTest extends ShimmiePHPUnitTestCase
// Validate change
$this->get_page("post/view/$image_id_1");
- $this->assert_title("Image $image_id_1: TestCase$ts");
+ $this->assert_title("Post $image_id_1: TestCase$ts");
}
# FIXME: make sure the admin tools actually work