Media File Renamer - Version 4.6.5

Version Description

  • Fix: Little (i18n) fixes in the admin.
  • Note: If you like it, please review the plugin by clicking here. It's important for us - we need motivation for all the work we want to put in the next version :)
Download this release

Release Info

Developer TigrouMeow
Plugin Icon 128x128 Media File Renamer
Version 4.6.5
Comparing to
See all releases

Code changes from version 4.6.3 to 4.6.5

Files changed (4) hide show
  1. common/admin.php +9 -9
  2. media-file-renamer.php +2 -2
  3. mfrh_admin.php +2 -2
  4. readme.txt +5 -1
common/admin.php CHANGED
@@ -200,10 +200,10 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
200
  // Creates standard menu if it does NOT exist
201
  global $submenu;
202
  if ( !isset( $submenu[ 'meowapps-main-menu' ] ) ) {
203
- add_menu_page( 'Meow Apps', '<img style="width: 24px; margin-left: -30px; position: absolute; margin-top: -3px;" src="' . MeowApps_Admin::$logo . '" />Meow Apps', 'manage_options', 'meowapps-main-menu',
204
  array( $this, 'admin_meow_apps' ), '', 82 );
205
- add_submenu_page( 'meowapps-main-menu', __( 'Dashboard', 'meowapps' ),
206
- __( 'Dashboard', 'meowapps' ), 'manage_options',
207
  'meowapps-main-menu', array( $this, 'admin_meow_apps' ) );
208
  }
209
 
@@ -226,7 +226,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
226
  $value = get_option( 'meowapps_hide_ads', null );
227
  $html = '<input type="checkbox" id="meowapps_hide_ads" name="meowapps_hide_ads" value="1" ' .
228
  checked( 1, get_option( 'meowapps_hide_ads' ), false ) . '/>';
229
- $html .= __( '<label>Hide</label><br /><small>Doesn\'t display the ads.</small>', 'meowapps' );
230
  echo $html;
231
  }
232
 
@@ -234,7 +234,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
234
  $value = get_option( 'meowapps_hide_meowapps', null );
235
  $html = '<input type="checkbox" id="meowapps_hide_meowapps" name="meowapps_hide_meowapps" value="1" ' .
236
  checked( 1, get_option( 'meowapps_hide_meowapps' ), false ) . '/>';
237
- $html .= __( '<label>Hide <b>Meow Apps</b> Menu</label><br /><small>Hide Meow Apps menu and all its components, for a cleaner admin. This option will be reset if a new Meow Apps plugin is installed. <b>Once activated, an option will be added in your General settings to display it again.</b></small>', 'meowapps' );
238
  echo $html;
239
  }
240
 
@@ -242,7 +242,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
242
  $value = get_option( 'force_sslverify', null );
243
  $html = '<input type="checkbox" id="force_sslverify" name="force_sslverify" value="1" ' .
244
  checked( 1, get_option( 'force_sslverify' ), false ) . '/>';
245
- $html .= __( '<label>Force</label><br /><small>Updates and licenses checks are usually made without checking SSL certificates and it is actually fine this way. But if you are intransigent when it comes to SSL matters, this option will force it.</small>', 'meowapps' );
246
  echo $html;
247
  }
248
 
@@ -360,7 +360,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
360
  ?>
361
  <?php $this->display_title( 'Meow Apps' ); ?>
362
  <p>
363
- <?php _e( 'Meow Apps is run by Jordy Meow, a photographer and software developer living in Japan (and taking <a target="_blank" href="http://offbeatjapan.org">a lot of photos</a>). Meow Apps is a suite of plugins focusing on photography, imaging, optimization and it teams up with the best players in the community (other themes and plugins developers). For more information, please check <a href="http://meowapps.com" target="_blank">Meow Apps</a>.', 'meowapps' )
364
  ?>
365
  </p>
366
 
@@ -407,7 +407,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
407
 
408
  <h2>WordPress Performance & Recommendations</h2>
409
  <div style="background: white; padding: 5px 15px 5px 15px; box-shadow: 2px 2px 1px rgba(0,0,0,.02); margin-bottom: 15px;">
410
- <p><?php _e( 'The <b>Empty Request Time</b> helps you analyzing the raw performance of your install by giving you the average time it takes to run an empty request to your server. You can try to disable some plugins (or change their options) then and click on Reset to see how it influences the results. With <b>File Operation Time</b>, you will find out if your server is slow with files. An excellent install would have an Empty Request Time of less than 500 ms. Keep it absolutely under 2,000 ms. File Operation Time should take only a few milliseconds more than the Empty Request Time. For more information about this, <a href="https://meowapps.com/clean-optimize-wordpress/#Optimize_your_Empty_Request_Time" target="_blank">click here</a>.', 'meowapps' ); ?></p>
411
  </div>
412
 
413
  <div style="float: left; margin-right: 10px; text-align: center; padding: 10px; background: white; width: 200px; border: 1px solid #e2e2e2;">
@@ -489,7 +489,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
489
 
490
  <div style="background: white; padding: 5px 15px 5px 15px; box-shadow: 2px 2px 1px rgba(0,0,0,.02); margin-top: 15px;">
491
  <p>
492
- <?php _e( 'Too many WordPress installs are blown-up with useless and/or huge plugins, and bad practices. But that is because most users are overwhelmed by the diversity and immensity of the WordPress jungle. One rule of thumb is to keep your install the simplest as possible, with the least number of plugins (avoiding heavy ones too) and a good hosting service (avoid VPS except if you know exactly what you are doing). Articles are kept being updated on the Meow Apps website, with all the latest recommendations: ', 'meowapps' )?>
493
  <a href='https://meowapps.com/debugging-wordpress/' target='_blank'>
494
  How To Debug</a>,
495
  <a href='https://meowapps.com/seo-optimization/' target='_blank'>
200
  // Creates standard menu if it does NOT exist
201
  global $submenu;
202
  if ( !isset( $submenu[ 'meowapps-main-menu' ] ) ) {
203
+ add_menu_page( 'Meow Apps', '<img alt="Meow Apps" style="width: 24px; margin-left: -30px; position: absolute; margin-top: -3px;" src="' . MeowApps_Admin::$logo . '" />Meow Apps', 'manage_options', 'meowapps-main-menu',
204
  array( $this, 'admin_meow_apps' ), '', 82 );
205
+ add_submenu_page( 'meowapps-main-menu', __( 'Dashboard', $this->domain ),
206
+ __( 'Dashboard', $this->domain ), 'manage_options',
207
  'meowapps-main-menu', array( $this, 'admin_meow_apps' ) );
208
  }
209
 
226
  $value = get_option( 'meowapps_hide_ads', null );
227
  $html = '<input type="checkbox" id="meowapps_hide_ads" name="meowapps_hide_ads" value="1" ' .
228
  checked( 1, get_option( 'meowapps_hide_ads' ), false ) . '/>';
229
+ $html .= __( '<label>Hide</label><br /><small>Doesn\'t display the ads.</small>', $this->domain );
230
  echo $html;
231
  }
232
 
234
  $value = get_option( 'meowapps_hide_meowapps', null );
235
  $html = '<input type="checkbox" id="meowapps_hide_meowapps" name="meowapps_hide_meowapps" value="1" ' .
236
  checked( 1, get_option( 'meowapps_hide_meowapps' ), false ) . '/>';
237
+ $html .= __( '<label>Hide <b>Meow Apps</b> Menu</label><br /><small>Hide Meow Apps menu and all its components, for a cleaner admin. This option will be reset if a new Meow Apps plugin is installed. <b>Once activated, an option will be added in your General settings to display it again.</b></small>', $this->domain );
238
  echo $html;
239
  }
240
 
242
  $value = get_option( 'force_sslverify', null );
243
  $html = '<input type="checkbox" id="force_sslverify" name="force_sslverify" value="1" ' .
244
  checked( 1, get_option( 'force_sslverify' ), false ) . '/>';
245
+ $html .= __( '<label>Force</label><br /><small>Updates and licenses checks are usually made without checking SSL certificates and it is actually fine this way. But if you are intransigent when it comes to SSL matters, this option will force it.</small>', $this->domain );
246
  echo $html;
247
  }
248
 
360
  ?>
361
  <?php $this->display_title( 'Meow Apps' ); ?>
362
  <p>
363
+ <?php _e( 'Meow Apps is run by Jordy Meow, a photographer and software developer living in Japan (and taking <a target="_blank" href="http://offbeatjapan.org">a lot of photos</a>). Meow Apps is a suite of plugins focusing on photography, imaging, optimization and it teams up with the best players in the community (other themes and plugins developers). For more information, please check <a href="http://meowapps.com" target="_blank">Meow Apps</a>.', $this->domain )
364
  ?>
365
  </p>
366
 
407
 
408
  <h2>WordPress Performance & Recommendations</h2>
409
  <div style="background: white; padding: 5px 15px 5px 15px; box-shadow: 2px 2px 1px rgba(0,0,0,.02); margin-bottom: 15px;">
410
+ <p><?php _e( 'The <b>Empty Request Time</b> helps you analyzing the raw performance of your install by giving you the average time it takes to run an empty request to your server. You can try to disable some plugins (or change their options) then and click on Reset to see how it influences the results. With <b>File Operation Time</b>, you will find out if your server is slow with files. An excellent install would have an Empty Request Time of less than 500 ms. Keep it absolutely under 2,000 ms. File Operation Time should take only a few milliseconds more than the Empty Request Time. For more information about this, <a href="https://meowapps.com/clean-optimize-wordpress/#Optimize_your_Empty_Request_Time" target="_blank">click here</a>.', $this->domain ); ?></p>
411
  </div>
412
 
413
  <div style="float: left; margin-right: 10px; text-align: center; padding: 10px; background: white; width: 200px; border: 1px solid #e2e2e2;">
489
 
490
  <div style="background: white; padding: 5px 15px 5px 15px; box-shadow: 2px 2px 1px rgba(0,0,0,.02); margin-top: 15px;">
491
  <p>
492
+ <?php _e( 'Too many WordPress installs are blown-up with useless and/or huge plugins, and bad practices. But that is because most users are overwhelmed by the diversity and immensity of the WordPress jungle. One rule of thumb is to keep your install the simplest as possible, with the least number of plugins (avoiding heavy ones too) and a good hosting service (avoid VPS except if you know exactly what you are doing). Articles are kept being updated on the Meow Apps website, with all the latest recommendations: ', $this->domain )?>
493
  <a href='https://meowapps.com/debugging-wordpress/' target='_blank'>
494
  How To Debug</a>,
495
  <a href='https://meowapps.com/seo-optimization/' target='_blank'>
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.6.3
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.6.3';
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.6.5
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.6.5';
36
 
37
  // Admin
38
  require( 'mfrh_admin.php');
mfrh_admin.php CHANGED
@@ -169,7 +169,7 @@ class Meow_MFRH_Admin extends MeowApps_Admin {
169
  printf(
170
  /* Translators: %s: link to tutorial */
171
  esc_html__( 'This plugin works out of the box, the default settings are the best for most installs. However, you should have a look at the %s.', 'media-file-renamer' ),
172
- '<a target="_blank" href="https://meowapps.com/media-file-renamer/">' . esc_html__( 'tutorial', 'media-file-renamer' ) . '</a>'
173
  );
174
  ?>
175
  <?php
@@ -219,7 +219,7 @@ class Meow_MFRH_Admin extends MeowApps_Admin {
219
  </div>
220
 
221
  <div class="meow-col meow-span_1_of_2">
222
- <?php $this->display_serialkey_box( "https://meowapps.com/media-file-renamer/" ); ?>
223
 
224
  <div class="meow-box">
225
  <h3>Advanced Settings</h3>
169
  printf(
170
  /* Translators: %s: link to tutorial */
171
  esc_html__( 'This plugin works out of the box, the default settings are the best for most installs. However, you should have a look at the %s.', 'media-file-renamer' ),
172
+ '<a target="_blank" href="https://meowapps.com/plugin/media-file-renamer/">' . esc_html__( 'tutorial', 'media-file-renamer' ) . '</a>'
173
  );
174
  ?>
175
  <?php
219
  </div>
220
 
221
  <div class="meow-col meow-span_1_of_2">
222
+ <?php $this->display_serialkey_box( "https://meowapps.com/plugin/media-file-renamer/" ); ?>
223
 
224
  <div class="meow-box">
225
  <h3>Advanced Settings</h3>
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.3
7
  Requires PHP: 7.0
8
- Stable tag: 4.6.3
9
 
10
  Physically renames your files nicely for a cleaner system and for a better SEO. Please read the description.
11
 
@@ -57,6 +57,10 @@ Check the FAQ on the official website, [here](https://meowapps.com/media-file-re
57
 
58
  == Changelog ==
59
 
 
 
 
 
60
  = 4.6.3 =
61
  * Add: Doesn't show the button to the Dashboard if Auto is disabled.
62
  * Update: Admin refreshed to 2.4.
5
  Requires at least: 4.8
6
  Tested up to: 5.3
7
  Requires PHP: 7.0
8
+ Stable tag: 4.6.5
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.6.5 =
61
+ * Fix: Little (i18n) fixes in the admin.
62
+ * Note: If you like it, please review the plugin [by clicking here](https://wordpress.org/support/plugin/media-file-renamer/reviews/?rate=5#new-post). It's important for us - we need motivation for all the work we want to put in the next version :)
63
+
64
  = 4.6.3 =
65
  * Add: Doesn't show the button to the Dashboard if Auto is disabled.
66
  * Update: Admin refreshed to 2.4.