Version Description
- Fixed load_plugin_textdomain setting.
Download this release
Release Info
Developer | kimipooh |
Plugin | WP Add Mime Types |
Version | 1.3.5 |
Comparing to | |
See all releases |
Code changes from version 1.3.4 to 1.3.5
- readme.txt +4 -1
- wp-add-mime-types.php +5 -4
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.2.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.4 =
|
42 |
* Tested up to WordPress 4.2.2
|
43 |
|
3 |
Tags: mime,file extention
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.2.2
|
6 |
+
Stable tag: 1.3.5
|
7 |
|
8 |
The plugin additionally allows the mime types and file extensions to WordPress.
|
9 |
|
38 |
|
39 |
== Changelog ==
|
40 |
|
41 |
+
= 1.3.5 =
|
42 |
+
* Fixed load_plugin_textdomain setting.
|
43 |
+
|
44 |
= 1.3.4 =
|
45 |
* Tested up to WordPress 4.2.2
|
46 |
|
wp-add-mime-types.php
CHANGED
@@ -3,16 +3,17 @@
|
|
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.jp/~kitani
|
9 |
*/
|
10 |
|
11 |
// Multi-language support.
|
12 |
-
load_plugin_textdomain('wp-add-mime-types',
|
|
|
13 |
|
14 |
$default_var = array(
|
15 |
-
'wp_add_mime_types' => '1.3.
|
16 |
);
|
17 |
|
18 |
// Add Setting to WordPress 'Settings' menu.
|
@@ -100,7 +101,7 @@ foreach($allowed_mime_values as $type=>$value){
|
|
100 |
<?php // If the permission is not allowed, the user can only read the setting. ?>
|
101 |
<textarea name="mime_type_values" cols="100" rows="10" <?php if(!$permission) echo "disabled"; ?>><?php if(isset($mimes) && is_array($mimes)) foreach ($mimes as $m_type=>$m_value) echo $m_type . "\t= " .$m_value . "\n"; ?></textarea>
|
102 |
</fieldset>
|
103 |
-
|
104 |
<br/>
|
105 |
|
106 |
<input type="submit" value="<?php _e('Save', 'wp-add-mime-types'); ?>" />
|
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.5
|
7 |
Author: Kimiya Kitani
|
8 |
Author URI: http://kitaney.jp/~kitani
|
9 |
*/
|
10 |
|
11 |
// Multi-language support.
|
12 |
+
load_plugin_textdomain('wp-add-mime-types', false, 'wp-add-mime-types/lang/');
|
13 |
+
|
14 |
|
15 |
$default_var = array(
|
16 |
+
'wp_add_mime_types' => '1.3.5',
|
17 |
);
|
18 |
|
19 |
// Add Setting to WordPress 'Settings' menu.
|
101 |
<?php // If the permission is not allowed, the user can only read the setting. ?>
|
102 |
<textarea name="mime_type_values" cols="100" rows="10" <?php if(!$permission) echo "disabled"; ?>><?php if(isset($mimes) && is_array($mimes)) foreach ($mimes as $m_type=>$m_value) echo $m_type . "\t= " .$m_value . "\n"; ?></textarea>
|
103 |
</fieldset>
|
104 |
+
|
105 |
<br/>
|
106 |
|
107 |
<input type="submit" value="<?php _e('Save', 'wp-add-mime-types'); ?>" />
|