Skip to content

Commit

Permalink
File Upload Types v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cheh committed Feb 15, 2023
1 parent 67a9634 commit c8e5211
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 55 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog
All notable changes to this project will be documented in this file, formatted via [this recommendation](https://keepachangelog.com/).

## [UNRELEASED] - 2023-XX-XX
## [1.3.0] - 2023-02-15
- IMPORTANT - Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing File Upload Types 1.3.0. Failure to do that will disable File Upload Types core functionality.
- Enhancement - Add `.world` and `.heif` extensions to the default list.
- Enhancement - The list of mime types was extended with `.json`, `.otf`, and `.ttf` file extensions.
Expand Down
3 changes: 1 addition & 2 deletions assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions file-upload-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: File Upload Types
* Description: Easily allow WordPress to accept and upload any file type extension or MIME type, including custom file types.
* Version: 1.2.2
* Version: 1.3.0
* Requires at least: 5.2
* Requires PHP: 5.6
* Author: WPForms
Expand Down Expand Up @@ -126,7 +126,7 @@ function file_upload_types_wp_notice() {
*
* @since {VERSION}
*/
define( 'FILE_UPLOAD_TYPES_VERSION', '1.2.2' );
define( 'FILE_UPLOAD_TYPES_VERSION', '1.3.0' );

require_once __DIR__ . '/vendor/autoload.php';

Expand Down
109 changes: 63 additions & 46 deletions languages/file-upload-types.pot
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
msgid ""
msgstr ""
"Project-Id-Version: File Upload Types 1.2.1\n"
"Project-Id-Version: File Upload Types 1.3.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/file-upload-types\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2021-02-24T14:37:33+00:00\n"
"POT-Creation-Date: 2023-02-15T13:00:26+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.4.0\n"
"X-Generator: WP-CLI 2.6.0\n"
"X-Domain: file-upload-types\n"

#. Plugin Name of the plugin
#: src/Settings.php:100
#: src/Settings.php:114
#: src/Settings.php:115
#: src/Settings.php:112
#: src/Settings.php:128
#: src/Settings.php:129
msgid "File Upload Types"
msgstr ""

Expand All @@ -24,146 +24,163 @@ msgid "Easily allow WordPress to accept and upload any file type extension or MI
msgstr ""

#. Author of the plugin
#: src/Settings.php:561
#: src/Settings.php:600
msgid "WPForms"
msgstr ""

#. Author URI of the plugin
msgid "https://wpforms.com"
msgstr ""

#: file-upload-types.php:44
#: file-upload-types.php:51
msgid "The File Upload Types plugin has been deactivated. Your site is running an outdated version of PHP that is no longer supported and is not compatible with the File Upload Types plugin."
msgstr ""

#: src/Plugin.php:87
#. translators: %s - WordPress version.
#: file-upload-types.php:91
msgid "The File Upload Types plugin has been deactivated because it requires WordPress %s or greater."
msgstr ""

#: src/Plugin.php:89
msgid "File Upload Types Settings"
msgstr ""

#: src/Plugin.php:87
#: src/Settings.php:140
#: src/Plugin.php:90
#: src/Settings.php:153
msgid "Settings"
msgstr ""

#: src/Settings.php:81
#: src/Settings.php:93
msgid "Default section can not be deleted."
msgstr ""

#: src/Settings.php:145
#: src/Settings.php:158
msgid "Need some help?"
msgstr ""

#: src/Settings.php:148
#: src/Settings.php:161
msgid "View Documentation"
msgstr ""

#: src/Settings.php:172
#: src/Settings.php:194
msgid "Save Settings"
msgstr ""

#: src/Settings.php:192
#: src/Settings.php:213
msgid "Add File Upload Types"
msgstr ""

#. translators: %1$s - URL to WordPress Codex page, %2$s - anchor link.
#: src/Settings.php:197
#: src/Settings.php:218
msgid "Below is the list of files types that can be enabled, not including the <a href=\"%1$s\" rel=\"noopener\" target=\"_blank\">files WordPress allows by default</a>. <br>Don't see what you need? No problem, <a href=\"%2$s\" id=\"add-custom-file-types\" rel=\"noopener noreferrer\">add your custom file types</a>."
msgstr ""

#: src/Settings.php:215
#: src/Settings.php:237
msgid "Search File Types"
msgstr ""

#: src/Settings.php:222
#: src/Settings.php:245
msgid "Description"
msgstr ""

#: src/Settings.php:223
#: src/Settings.php:324
#: src/Settings.php:246
#: src/Settings.php:350
msgid "MIME Type"
msgstr ""

#: src/Settings.php:224
#: src/Settings.php:326
#: src/Settings.php:247
#: src/Settings.php:352
msgid "Extension"
msgstr ""

#: src/Settings.php:244
#: src/Settings.php:267
msgid "ENABLED"
msgstr ""

#: src/Settings.php:271
#: src/Settings.php:295
msgid "AVAILABLE"
msgstr ""

#: src/Settings.php:314
#: src/Settings.php:340
msgid "ADD CUSTOM FILE TYPES"
msgstr ""

#: src/Settings.php:317
#: src/Settings.php:342
msgid "Help"
msgstr ""

#: src/Settings.php:343
msgid "Enter the description, MIME type and extension of the file. Multiple MIME types for a single extension can be separated by a comma."
msgstr ""

#: src/Settings.php:323
#: src/Settings.php:349
msgid "File Description"
msgstr ""

#: src/Settings.php:346
#: src/Settings.php:354
msgid "Add File Type"
msgstr ""

#: src/Settings.php:355
msgid "Remove File Type"
msgstr ""

#: src/Settings.php:371
msgid "You might like our other products"
msgstr ""

#. translators: %s - wpforms.com link.
#: src/Settings.php:352
#: src/Settings.php:377
msgid "File Upload Types is built by the team behind the most popular WordPress form plugin, <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">WPForms</a>. Check out some of our other plugins."
msgstr ""

#. translators: %1$s - Plugin URL; %2$s - Plugin Name; %3$s - Image source.
#: src/Settings.php:383
msgid "<strong><a href=\"%1$s\" class=\"external-link\" target=\"_blank\" rel=\"noopener noreferrer\">Get %2$s</a></strong>"
#. translators: %2$s - Plugin Name.
#: src/Settings.php:408
msgid "Get %2$s"
msgstr ""

#: src/Settings.php:478
#: src/Settings.php:506
msgid "Your settings have been saved."
msgstr ""

#. translators: %1$s - Same page; %2$s - Documentation link for multiple types support.
#: src/Settings.php:502
#: src/Settings.php:530
msgid "File Upload Types now supports multiple MIME types for each file extension to improve file upload compatibility! <br/> <strong><a href=\"%1$s\">Enable multiple MIME types support</a> | <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">Learn More</a></strong>"
msgstr ""

#: src/Settings.php:542
#: src/Settings.php:581
msgid "Support for multiple MIME types has been enabled."
msgstr ""

#: src/Settings.php:562
#: src/Settings.php:601
msgid "The most beginner friendly WordPress contact form plugin."
msgstr ""

#: src/Settings.php:567
#: src/Settings.php:606
msgid "MonsterInsights"
msgstr ""

#: src/Settings.php:568
#: src/Settings.php:607
msgid "Effortlessly connect your WP site with Google Analytics."
msgstr ""

#: src/Settings.php:573
#: src/Settings.php:612
msgid "OptinMonster"
msgstr ""

#: src/Settings.php:574
#: src/Settings.php:613
msgid "Turn your traffic into leads, conversions and sales."
msgstr ""

#: src/Settings.php:579
#: src/Settings.php:618
msgid "SeedProd"
msgstr ""

#: src/Settings.php:580
#: src/Settings.php:619
msgid "Create beautiful coming soon pages, skyrocket your email list."
msgstr ""

#. translators: %1$s - WP.org link; %2$s - same WP.org link.
#: src/Settings.php:605
msgid "Please rate <strong>File Upload Types</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress.org</a> to help us spread the word. Thank you from the File Upload Types team!"
#. translators: %1$s - WP.org link.
#: src/Settings.php:642
msgid "Please rate <strong>File Upload Types</strong> <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress.org</a> to help us spread the word. Thank you from the File Upload Types team!"
msgstr ""
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "file-upload-types",
"description": "Manage the types of files that can be uploaded to your WordPress site.",
"version": "1.2.2",
"version": "1.3.0",
"homepage": "",
"repository": {
"type": "git",
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: wpforms, smub, jaredatch, slaFFik, kkarpieszuk
Tags: files, upload, file upload, mime, attachments
Requires at least: 5.2
Tested up to: 6.1
Stable tag: 1.2.2
Stable tag: 1.3.0
Requires PHP: 5.6

Easily allow WordPress to accept and upload any file type extension or MIME type, including custom file types.
Expand Down Expand Up @@ -80,6 +80,13 @@ Visit <a href="http://www.wpbeginner.com/?utm_source=wprepo&utm_medium=link&utm_

== Changelog ==

= 1.3.0 - 2023-02-15 =
* IMPORTANT - Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing File Upload Types 1.3.0. Failure to do that will disable File Upload Types core functionality.
* Enhancement - Add `.world` and `.heif` extensions to the default list.
* Enhancement - The list of mime types was extended with `.json`, `.otf`, and `.ttf` file extensions.
* Enhancement - Do not load the plugin textdomain locally, since it is not needed starting from WP 4.6.
* Fix - Microsoft Office MIME type wasn't properly supported.

= 1.2.2 - 2021-06-17 =
* Fix - PHP notices when invalid files are uploaded.
* Enhancement - Replace jquery.ready with recommended syntax.
Expand Down

0 comments on commit c8e5211

Please sign in to comment.