PHP Compatibility Checker - Version 1.4.7

Version Description

Download this release

Release Info

Developer octalmage
Plugin Icon 128x128 PHP Compatibility Checker
Version 1.4.7
Comparing to
See all releases

Code changes from version 1.4.6 to 1.4.7

php52/vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInitae6f84bfc58da458e326cb01eed119a8::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit9682a282f546102ba01ce755bc036ffe::getLoader();
php52/vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInitae6f84bfc58da458e326cb01eed119a8 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitae6f84bfc58da458e326cb01eed119a8 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitae6f84bfc58da458e326cb01eed119a8', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitae6f84bfc58da458e326cb01eed119a8', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit9682a282f546102ba01ce755bc036ffe {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit9682a282f546102ba01ce755bc036ffe', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit9682a282f546102ba01ce755bc036ffe', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
src/wpephpcompat.php CHANGED
@@ -92,6 +92,8 @@ class WPEPHPCompat {
92
  '*/woocommerce-pdf-invoices-packing-slips/*' => '7.0', // https://github.com/wpengine/phpcompat/issues/160
93
  '*/iwp-client/*' => '7.0', // https://wordpress.org/support/topic/iwp-client-and-php-7-compatibility/
94
  '*/health-check/*' => '7.2', // https://github.com/wpengine/phpcompat/issues/179
 
 
95
  );
96
 
97
  /**
92
  '*/woocommerce-pdf-invoices-packing-slips/*' => '7.0', // https://github.com/wpengine/phpcompat/issues/160
93
  '*/iwp-client/*' => '7.0', // https://wordpress.org/support/topic/iwp-client-and-php-7-compatibility/
94
  '*/health-check/*' => '7.2', // https://github.com/wpengine/phpcompat/issues/179
95
+ '*/genesis/*' => '7.2', // https://github.com/wpengine/phpcompat/issues/127
96
+ '*/wpmudev-updates/*' => '7.3', // https://github.com/wpengine/phpcompat/issues/178
97
  );
98
 
99
  /**
wpengine-phpcompat.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin URI: https://wpengine.com
11
  * Description: Make sure your plugins and themes are compatible with newer PHP versions.
12
  * Author: WP Engine
13
- * Version: 1.4.6
14
  * Author URI: https://wpengine.com
15
  * Text Domain: php-compatibility-checker
16
  */
@@ -75,6 +75,9 @@ class WPEngine_PHPCompat {
75
  public static function init() {
76
  $instance = self::instance();
77
 
 
 
 
78
  // Build our tools page.
79
  add_action( 'admin_menu', array( $instance, 'create_menu' ) );
80
 
@@ -310,6 +313,17 @@ class WPEngine_PHPCompat {
310
  ) );
311
  }
312
 
 
 
 
 
 
 
 
 
 
 
 
313
  /**
314
  * Enqueues our JavaScript and CSS.
315
  *
10
  * Plugin URI: https://wpengine.com
11
  * Description: Make sure your plugins and themes are compatible with newer PHP versions.
12
  * Author: WP Engine
13
+ * Version: 1.4.7
14
  * Author URI: https://wpengine.com
15
  * Text Domain: php-compatibility-checker
16
  */
75
  public static function init() {
76
  $instance = self::instance();
77
 
78
+ // Load textdomain.
79
+ add_action( 'init', array( $instance, 'load_textdomain' ) );
80
+
81
  // Build our tools page.
82
  add_action( 'admin_menu', array( $instance, 'create_menu' ) );
83
 
313
  ) );
314
  }
315
 
316
+ /**
317
+ * Loads textdomain for WP < 4.6 translation support.
318
+ *
319
+ * @since 1.4.7
320
+ *
321
+ * @action admin_init
322
+ */
323
+ public function load_textdomain() {
324
+ load_plugin_textdomain( 'php-compatibility-checker' );
325
+ }
326
+
327
  /**
328
  * Enqueues our JavaScript and CSS.
329
  *