WP Hide & Security Enhancer - Version 1.6.2.0.1

Version Description

  • Fix: Check the replacements for update_post_metadata method on text and array types.
Download this release

Release Info

Developer nsp-code
Plugin Icon 128x128 WP Hide & Security Enhancer
Version 1.6.2.0.1
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.2.0.1

Files changed (3) hide show
  1. include/wph.class.php +4 -2
  2. readme.txt +3 -0
  3. wp-hide.php +1 -1
include/wph.class.php CHANGED
@@ -1507,13 +1507,15 @@
1507
  {
1508
  foreach ( $meta_value as $key => $value )
1509
  {
1510
- $meta_value[$key] = $this->functions->content_urls_replacement( $value, $replacement_list );
 
1511
  }
1512
  }
1513
  }
1514
  else
1515
  {
1516
- $meta_value = $this->functions->content_urls_replacement( $meta_value, $replacement_list );
 
1517
  }
1518
 
1519
  $raw_meta_key = $meta_key;
1507
  {
1508
  foreach ( $meta_value as $key => $value )
1509
  {
1510
+ if ( is_string( $meta_value) )
1511
+ $meta_value[$key] = $this->functions->content_urls_replacement( $value, $replacement_list );
1512
  }
1513
  }
1514
  }
1515
  else
1516
  {
1517
+ if ( is_string( $meta_value) )
1518
+ $meta_value = $this->functions->content_urls_replacement( $meta_value, $replacement_list );
1519
  }
1520
 
1521
  $raw_meta_key = $meta_key;
readme.txt CHANGED
@@ -349,6 +349,9 @@ Please get in touch with us and we'll do our best to include it for a next versi
349
 
350
  == Changelog ==
351
 
 
 
 
352
  = 1.6.2 =
353
  * Reverse URLs when saving a meta data field, to avoid custom urls to be writted within the database.
354
  * Trigger a system notice when deployed on MultiSite, as not being compatible.
349
 
350
  == Changelog ==
351
 
352
+ = 1.6.2.0.1 =
353
+ * Fix: Check the replacements for update_post_metadata method on text and array types.
354
+
355
  = 1.6.2 =
356
  * Reverse URLs when saving a meta data field, to avoid custom urls to be writted within the database.
357
  * Trigger a system notice when deployed on MultiSite, as not being compatible.
wp-hide.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.wp-hide.com/
5
  Description: Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
- Version: 1.6.2
9
  Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */
5
  Description: Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
+ Version: 1.6.2.0.1
9
  Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */