Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion includes/class-opentrust-io.php
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,6 @@ private static function sideload_bundled_media(array $media, string $zip_path, a
}

require_once ABSPATH . 'wp-admin/includes/file.php';
require_once ABSPATH . 'wp-admin/includes/media.php';
require_once ABSPATH . 'wp-admin/includes/image.php';

$map = [];
Expand Down
10 changes: 5 additions & 5 deletions languages/opentrust.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-05-11T15:00:11+00:00\n"
"POT-Creation-Date: 2026-05-12T20:24:53+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: opentrust\n"
Expand Down Expand Up @@ -1739,23 +1739,23 @@ msgstr ""
msgid "manifest.json could not be parsed."
msgstr ""

#: includes/class-opentrust-io.php:637
#: includes/class-opentrust-io.php:636
msgid "Could not reopen archive for media import."
msgstr ""

#. translators: %s: media path
#: includes/class-opentrust-io.php:652
#: includes/class-opentrust-io.php:651
#, php-format
msgid "Bundled media missing during import: %s"
msgstr ""

#. translators: %s: filename
#: includes/class-opentrust-io.php:672
#: includes/class-opentrust-io.php:671
#, php-format
msgid "Could not write attachment file: %s"
msgstr ""

#: includes/class-opentrust-io.php:690
#: includes/class-opentrust-io.php:689
msgid "Could not create attachment."
msgstr ""

Expand Down
Loading