Version Description
- Fix: Column wasn't displayed when manual enabled and automatic disabled.
Download this release
Release Info
Developer | TigrouMeow |
Plugin | Media File Renamer |
Version | 4.5.9 |
Comparing to | |
See all releases |
Code changes from version 4.5.7 to 4.5.9
- media-file-renamer.php +2 -2
- readme.txt +6 -3
- ui.php +2 -1
media-file-renamer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Media File Renamer (Auto Rename)
|
4 |
Plugin URI: https://meowapps.com
|
5 |
Description: Renames automatically the files depending on Media titles and updates the links.
|
6 |
-
Version: 4.5.
|
7 |
Author: Jordy Meow
|
8 |
Author URI: https://jordymeow.com
|
9 |
Text Domain: media-file-renamer
|
@@ -32,7 +32,7 @@ require( 'helpers.php');
|
|
32 |
if ( is_admin() || is_rest() ) {
|
33 |
|
34 |
global $mfrh_version, $mfrh_core;
|
35 |
-
$mfrh_version = '4.5.
|
36 |
|
37 |
// Admin
|
38 |
require( 'mfrh_admin.php');
|
3 |
Plugin Name: Media File Renamer (Auto Rename)
|
4 |
Plugin URI: https://meowapps.com
|
5 |
Description: Renames automatically the files depending on Media titles and updates the links.
|
6 |
+
Version: 4.5.9
|
7 |
Author: Jordy Meow
|
8 |
Author URI: https://jordymeow.com
|
9 |
Text Domain: media-file-renamer
|
32 |
if ( is_admin() || is_rest() ) {
|
33 |
|
34 |
global $mfrh_version, $mfrh_core;
|
35 |
+
$mfrh_version = '4.5.9';
|
36 |
|
37 |
// Admin
|
38 |
require( 'mfrh_admin.php');
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://commerce.coinbase.com/checkout/d047546a-77a8-41c8-9ea9-4a95
|
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 7.0
|
8 |
-
Stable tag: 4.5.
|
9 |
|
10 |
Physically renames your files nicely for a cleaner system and for a better SEO. Please read the description.
|
11 |
|
@@ -57,8 +57,11 @@ Check the FAQ on the official website, [here](https://meowapps.com/media-file-re
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
-
= 4.5.
|
61 |
-
* Fix:
|
|
|
|
|
|
|
62 |
* Update: Admin refresh.
|
63 |
|
64 |
= 4.5.5 =
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 7.0
|
8 |
+
Stable tag: 4.5.9
|
9 |
|
10 |
Physically renames your files nicely for a cleaner system and for a better SEO. Please read the description.
|
11 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 4.5.9 =
|
61 |
+
* Fix: Column wasn't displayed when manual enabled and automatic disabled.
|
62 |
+
|
63 |
+
= 4.5.8 =
|
64 |
+
* Fix: Fixed the AJAX/REST check.
|
65 |
* Update: Admin refresh.
|
66 |
|
67 |
= 4.5.5 =
|
ui.php
CHANGED
@@ -21,8 +21,9 @@ class Meow_MFRH_UI {
|
|
21 |
add_filter( 'option_active_plugins', array( $this, 'active_plugins' ) );
|
22 |
|
23 |
// Column for Media Library
|
|
|
24 |
$method = apply_filters( 'mfrh_method', 'media_title' );
|
25 |
-
if ( $method != 'none' ) {
|
26 |
add_filter( 'manage_media_columns', array( $this, 'add_media_columns' ) );
|
27 |
add_action( 'manage_media_custom_column', array( $this, 'manage_media_custom_column' ), 10, 2 );
|
28 |
}
|
21 |
add_filter( 'option_active_plugins', array( $this, 'active_plugins' ) );
|
22 |
|
23 |
// Column for Media Library
|
24 |
+
$is_manual = apply_filters( 'mfrh_manual', false );
|
25 |
$method = apply_filters( 'mfrh_method', 'media_title' );
|
26 |
+
if ( $method != 'none' || $is_manual ) {
|
27 |
add_filter( 'manage_media_columns', array( $this, 'add_media_columns' ) );
|
28 |
add_action( 'manage_media_custom_column', array( $this, 'manage_media_custom_column' ), 10, 2 );
|
29 |
}
|