Version Description
- Tiny fix to re-insert the EMR link in the media list view.
Download this release
Release Info
Developer | MungoBBQ |
Plugin | Enable Media Replace |
Version | 3.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.0 to 3.0.1
- enable-media-replace.php +3 -4
- readme.txt +3 -0
enable-media-replace.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Enable Media Replace
|
4 |
Plugin URI: http://www.mansjonasson.se/enable-media-replace
|
5 |
Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
|
6 |
-
Version: 3.0
|
7 |
Author: Måns Jonasson
|
8 |
Author URI: http://www.mansjonasson.se
|
9 |
|
@@ -28,8 +28,7 @@ Developed for .SE (Stiftelsen för Internetinfrastruktur) - http://www.iis.se
|
|
28 |
add_action('admin_init', 'enable_media_replace_init');
|
29 |
add_action('admin_menu', 'emr_menu');
|
30 |
add_filter('attachment_fields_to_edit', 'enable_media_replace', 10, 2);
|
31 |
-
|
32 |
-
//add_filter('media_row_actions', 'add_media_action', 10, 2);
|
33 |
|
34 |
add_shortcode('file_modified', 'emr_get_modified_date');
|
35 |
|
@@ -166,4 +165,4 @@ function ua_admin_date_replaced_media_on_edit_media_screen() {
|
|
166 |
add_action( 'attachment_submitbox_misc_actions', 'ua_admin_date_replaced_media_on_edit_media_screen', 91 );
|
167 |
|
168 |
|
169 |
-
?>
|
3 |
Plugin Name: Enable Media Replace
|
4 |
Plugin URI: http://www.mansjonasson.se/enable-media-replace
|
5 |
Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
|
6 |
+
Version: 3.0.1
|
7 |
Author: Måns Jonasson
|
8 |
Author URI: http://www.mansjonasson.se
|
9 |
|
28 |
add_action('admin_init', 'enable_media_replace_init');
|
29 |
add_action('admin_menu', 'emr_menu');
|
30 |
add_filter('attachment_fields_to_edit', 'enable_media_replace', 10, 2);
|
31 |
+
add_filter('media_row_actions', 'add_media_action', 10, 2);
|
|
|
32 |
|
33 |
add_shortcode('file_modified', 'emr_get_modified_date');
|
34 |
|
165 |
add_action( 'attachment_submitbox_misc_actions', 'ua_admin_date_replaced_media_on_edit_media_screen', 91 );
|
166 |
|
167 |
|
168 |
+
?>
|
readme.txt
CHANGED
@@ -37,6 +37,9 @@ If you want more control over the format used to display the time, you can use t
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
40 |
= 3.0 =
|
41 |
* Updated for WordPress 4.0
|
42 |
* Now inheriting permissions of the replaced files, [Thank you Fiwad](https://github.com/fiwad)
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 3.0.1 =
|
41 |
+
* Tiny fix to re-insert the EMR link in the media list view.
|
42 |
+
|
43 |
= 3.0 =
|
44 |
* Updated for WordPress 4.0
|
45 |
* Now inheriting permissions of the replaced files, [Thank you Fiwad](https://github.com/fiwad)
|