Version Description
- Preparation of migrating the translation function to GlotPress.
Download this release
Release Info
Developer | kimipooh |
Plugin | WP Add Mime Types |
Version | 1.3.11 |
Comparing to | |
See all releases |
Code changes from version 1.3.10 to 1.3.11
- readme.txt +4 -1
- wp-add-mime-types.php +5 -2
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Kimiya Kitani
|
|
3 |
Tags: mime,file extention
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.4.2
|
6 |
-
Stable tag: 1.3.
|
7 |
|
8 |
The plugin additionally allows the mime types and file extensions to WordPress.
|
9 |
|
@@ -38,6 +38,9 @@ You can see the list of allowed mime types and file extensions by WordPress.
|
|
38 |
|
39 |
== Changelog ==
|
40 |
|
|
|
|
|
|
|
41 |
= 1.3.10 =
|
42 |
* Tested up to WordPress 4.4.2
|
43 |
|
3 |
Tags: mime,file extention
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.4.2
|
6 |
+
Stable tag: 1.3.11
|
7 |
|
8 |
The plugin additionally allows the mime types and file extensions to WordPress.
|
9 |
|
38 |
|
39 |
== Changelog ==
|
40 |
|
41 |
+
= 1.3.11 =
|
42 |
+
* Preparation of migrating the translation function to GlotPress.
|
43 |
+
|
44 |
= 1.3.10 =
|
45 |
* Tested up to WordPress 4.4.2
|
46 |
|
wp-add-mime-types.php
CHANGED
@@ -3,13 +3,16 @@
|
|
3 |
Plugin Name: WP Add Mime Types
|
4 |
Plugin URI:
|
5 |
Description: The plugin additionally allows the mime types and file extensions to WordPress.
|
6 |
-
Version: 1.3.
|
7 |
Author: Kimiya Kitani
|
8 |
Author URI: http://kitaney-wordpress.blogspot.jp/
|
|
|
|
|
9 |
*/
|
10 |
|
11 |
// Multi-language support.
|
12 |
function enable_language_translation(){
|
|
|
13 |
load_plugin_textdomain('wp-add-mime-types', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/');
|
14 |
}
|
15 |
add_action('plugins_loaded', 'enable_language_translation');
|
@@ -17,7 +20,7 @@ add_action('plugins_loaded', 'enable_language_translation');
|
|
17 |
|
18 |
|
19 |
$default_var = array(
|
20 |
-
'wp_add_mime_types' => '1.3.
|
21 |
);
|
22 |
|
23 |
// Add Setting to WordPress 'Settings' menu.
|
3 |
Plugin Name: WP Add Mime Types
|
4 |
Plugin URI:
|
5 |
Description: The plugin additionally allows the mime types and file extensions to WordPress.
|
6 |
+
Version: 1.3.11
|
7 |
Author: Kimiya Kitani
|
8 |
Author URI: http://kitaney-wordpress.blogspot.jp/
|
9 |
+
Text Domain: wp-add-mime-types
|
10 |
+
Domain Path: /lang
|
11 |
*/
|
12 |
|
13 |
// Multi-language support.
|
14 |
function enable_language_translation(){
|
15 |
+
// load_plugin_textdomain('wp-add-mime-types', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/');
|
16 |
load_plugin_textdomain('wp-add-mime-types', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/');
|
17 |
}
|
18 |
add_action('plugins_loaded', 'enable_language_translation');
|
20 |
|
21 |
|
22 |
$default_var = array(
|
23 |
+
'wp_add_mime_types' => '1.3.11',
|
24 |
);
|
25 |
|
26 |
// Add Setting to WordPress 'Settings' menu.
|