Timber - Version 1.22.1

Version Description

  • Fixed a bug when Twig version 3 was accidentally installed when installing Timber through Composer, by @rmens in https://github.com/timber/timber/pull/2679.
Download this release

Release Info

Developer jarednova
Plugin Icon 128x128 Timber
Version 1.22.1
Comparing to
See all releases

Code changes from version 1.22.0 to 1.22.1

lib/Timber.php CHANGED
@@ -35,7 +35,7 @@ use Timber\Loader;
35
  */
36
  class Timber {
37
 
38
- public static $version = '1.22.0';
39
  public static $locations;
40
  public static $dirname = 'views';
41
  public static $twig_cache = false;
35
  */
36
  class Timber {
37
 
38
+ public static $version = '1.22.1';
39
  public static $locations;
40
  public static $dirname = 'views';
41
  public static $twig_cache = false;
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Timber ===
2
  Contributors: jarednova
3
  Tags: template engine, templates, twig
4
- Tested up to: 6.1
5
- Stable tag: 1.22.0
6
  Requires PHP: 7.2.5
7
  Requires at least: 5.3.0
8
  License: GPLv2 or later
@@ -38,6 +38,10 @@ _Twig is the template language powering Timber; if you need a little background
38
 
39
  **Fixes and improvements**
40
 
 
 
 
 
41
  = 1.22.0 =
42
 
43
  * Fixed included Twig version. In the plugin version 1.21.0 of Timber, Twig version 2.15.3 was accidentally included instead of Twig version 1.44.7.
1
  === Timber ===
2
  Contributors: jarednova
3
  Tags: template engine, templates, twig
4
+ Tested up to: 6.1.1
5
+ Stable tag: 1.22.1
6
  Requires PHP: 7.2.5
7
  Requires at least: 5.3.0
8
  License: GPLv2 or later
38
 
39
  **Fixes and improvements**
40
 
41
+ = 1.22.1 =
42
+
43
+ * Fixed a bug when Twig version 3 was accidentally installed when installing Timber through Composer, by @rmens in https://github.com/timber/timber/pull/2679.
44
+
45
  = 1.22.0 =
46
 
47
  * Fixed included Twig version. In the plugin version 1.21.0 of Timber, Twig version 2.15.3 was accidentally included instead of Twig version 1.44.7.
timber.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Timber
4
  Description: The WordPress Timber Library allows you to write themes using the power of Twig templates.
5
  Plugin URI: https://upstatement.com/timber
6
  Author: Jared Novack + Upstatement
7
- Version: 1.22.0
8
  Author URI: http://upstatement.com/
9
  Requires PHP: 7.2.5
10
  Requires at least: 5.3.0
4
  Description: The WordPress Timber Library allows you to write themes using the power of Twig templates.
5
  Plugin URI: https://upstatement.com/timber
6
  Author: Jared Novack + Upstatement
7
+ Version: 1.22.1
8
  Author URI: http://upstatement.com/
9
  Requires PHP: 7.2.5
10
  Requires at least: 5.3.0
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit84e42f61074097fdc526963199118ce6::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInite81ff2a27757974c68c8287e7b69363f::getLoader();
vendor/composer/InstalledVersions.php CHANGED
@@ -25,12 +25,12 @@ class InstalledVersions
25
  private static $installed = array (
26
  'root' =>
27
  array (
28
- 'pretty_version' => 'dev-master',
29
- 'version' => 'dev-master',
30
  'aliases' =>
31
  array (
32
  ),
33
- 'reference' => '43be3208bcb35cede75bbc470e079c31e84bf7ea',
34
  'name' => 'timber/timber',
35
  ),
36
  'versions' =>
@@ -55,21 +55,21 @@ private static $installed = array (
55
  ),
56
  'symfony/polyfill-ctype' =>
57
  array (
58
- 'pretty_version' => 'v1.26.0',
59
- 'version' => '1.26.0.0',
60
  'aliases' =>
61
  array (
62
  ),
63
- 'reference' => '6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4',
64
  ),
65
  'timber/timber' =>
66
  array (
67
- 'pretty_version' => 'dev-master',
68
- 'version' => 'dev-master',
69
  'aliases' =>
70
  array (
71
  ),
72
- 'reference' => '43be3208bcb35cede75bbc470e079c31e84bf7ea',
73
  ),
74
  'twig/cache-extension' =>
75
  array (
25
  private static $installed = array (
26
  'root' =>
27
  array (
28
+ 'pretty_version' => '1.22.1.x-dev',
29
+ 'version' => '1.22.1.9999999-dev',
30
  'aliases' =>
31
  array (
32
  ),
33
+ 'reference' => '57fc582c42519f1b05fff5fb2ebf4291b5cd638f',
34
  'name' => 'timber/timber',
35
  ),
36
  'versions' =>
55
  ),
56
  'symfony/polyfill-ctype' =>
57
  array (
58
+ 'pretty_version' => 'v1.27.0',
59
+ 'version' => '1.27.0.0',
60
  'aliases' =>
61
  array (
62
  ),
63
+ 'reference' => '5bbc823adecdae860bb64756d639ecfec17b050a',
64
  ),
65
  'timber/timber' =>
66
  array (
67
+ 'pretty_version' => '1.22.1.x-dev',
68
+ 'version' => '1.22.1.9999999-dev',
69
  'aliases' =>
70
  array (
71
  ),
72
+ 'reference' => '57fc582c42519f1b05fff5fb2ebf4291b5cd638f',
73
  ),
74
  'twig/cache-extension' =>
75
  array (
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit84e42f61074097fdc526963199118ce6
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit84e42f61074097fdc526963199118ce6
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit84e42f61074097fdc526963199118ce6', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit84e42f61074097fdc526963199118ce6', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInit84e42f61074097fdc526963199118ce6::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit84e42f61074097fdc526963199118ce6
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit84e42f61074097fdc526963199118ce6::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire84e42f61074097fdc526963199118ce6($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire84e42f61074097fdc526963199118ce6($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInite81ff2a27757974c68c8287e7b69363f
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInite81ff2a27757974c68c8287e7b69363f', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInite81ff2a27757974c68c8287e7b69363f', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInite81ff2a27757974c68c8287e7b69363f::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInite81ff2a27757974c68c8287e7b69363f::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequiree81ff2a27757974c68c8287e7b69363f($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequiree81ff2a27757974c68c8287e7b69363f($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit84e42f61074097fdc526963199118ce6
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@@ -74,11 +74,11 @@ class ComposerStaticInit84e42f61074097fdc526963199118ce6
74
  public static function getInitializer(ClassLoader $loader)
75
  {
76
  return \Closure::bind(function () use ($loader) {
77
- $loader->prefixLengthsPsr4 = ComposerStaticInit84e42f61074097fdc526963199118ce6::$prefixLengthsPsr4;
78
- $loader->prefixDirsPsr4 = ComposerStaticInit84e42f61074097fdc526963199118ce6::$prefixDirsPsr4;
79
- $loader->fallbackDirsPsr4 = ComposerStaticInit84e42f61074097fdc526963199118ce6::$fallbackDirsPsr4;
80
- $loader->prefixesPsr0 = ComposerStaticInit84e42f61074097fdc526963199118ce6::$prefixesPsr0;
81
- $loader->classMap = ComposerStaticInit84e42f61074097fdc526963199118ce6::$classMap;
82
 
83
  }, null, ClassLoader::class);
84
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInite81ff2a27757974c68c8287e7b69363f
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
74
  public static function getInitializer(ClassLoader $loader)
75
  {
76
  return \Closure::bind(function () use ($loader) {
77
+ $loader->prefixLengthsPsr4 = ComposerStaticInite81ff2a27757974c68c8287e7b69363f::$prefixLengthsPsr4;
78
+ $loader->prefixDirsPsr4 = ComposerStaticInite81ff2a27757974c68c8287e7b69363f::$prefixDirsPsr4;
79
+ $loader->fallbackDirsPsr4 = ComposerStaticInite81ff2a27757974c68c8287e7b69363f::$fallbackDirsPsr4;
80
+ $loader->prefixesPsr0 = ComposerStaticInite81ff2a27757974c68c8287e7b69363f::$prefixesPsr0;
81
+ $loader->classMap = ComposerStaticInite81ff2a27757974c68c8287e7b69363f::$classMap;
82
 
83
  }, null, ClassLoader::class);
84
  }
vendor/composer/installed.json CHANGED
@@ -213,17 +213,17 @@
213
  },
214
  {
215
  "name": "symfony/polyfill-ctype",
216
- "version": "v1.26.0",
217
- "version_normalized": "1.26.0.0",
218
  "source": {
219
  "type": "git",
220
  "url": "https://github.com/symfony/polyfill-ctype.git",
221
- "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4"
222
  },
223
  "dist": {
224
  "type": "zip",
225
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4",
226
- "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4",
227
  "shasum": ""
228
  },
229
  "require": {
@@ -235,11 +235,11 @@
235
  "suggest": {
236
  "ext-ctype": "For best performance"
237
  },
238
- "time": "2022-05-24T11:49:31+00:00",
239
  "type": "library",
240
  "extra": {
241
  "branch-alias": {
242
- "dev-main": "1.26-dev"
243
  },
244
  "thanks": {
245
  "name": "symfony/polyfill",
@@ -278,7 +278,7 @@
278
  "portable"
279
  ],
280
  "support": {
281
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0"
282
  },
283
  "funding": [
284
  {
213
  },
214
  {
215
  "name": "symfony/polyfill-ctype",
216
+ "version": "v1.27.0",
217
+ "version_normalized": "1.27.0.0",
218
  "source": {
219
  "type": "git",
220
  "url": "https://github.com/symfony/polyfill-ctype.git",
221
+ "reference": "5bbc823adecdae860bb64756d639ecfec17b050a"
222
  },
223
  "dist": {
224
  "type": "zip",
225
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a",
226
+ "reference": "5bbc823adecdae860bb64756d639ecfec17b050a",
227
  "shasum": ""
228
  },
229
  "require": {
235
  "suggest": {
236
  "ext-ctype": "For best performance"
237
  },
238
+ "time": "2022-11-03T14:55:06+00:00",
239
  "type": "library",
240
  "extra": {
241
  "branch-alias": {
242
+ "dev-main": "1.27-dev"
243
  },
244
  "thanks": {
245
  "name": "symfony/polyfill",
278
  "portable"
279
  ],
280
  "support": {
281
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0"
282
  },
283
  "funding": [
284
  {
vendor/composer/installed.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php return array (
2
  'root' =>
3
  array (
4
- 'pretty_version' => 'dev-master',
5
- 'version' => 'dev-master',
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => '43be3208bcb35cede75bbc470e079c31e84bf7ea',
10
  'name' => 'timber/timber',
11
  ),
12
  'versions' =>
@@ -31,21 +31,21 @@
31
  ),
32
  'symfony/polyfill-ctype' =>
33
  array (
34
- 'pretty_version' => 'v1.26.0',
35
- 'version' => '1.26.0.0',
36
  'aliases' =>
37
  array (
38
  ),
39
- 'reference' => '6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4',
40
  ),
41
  'timber/timber' =>
42
  array (
43
- 'pretty_version' => 'dev-master',
44
- 'version' => 'dev-master',
45
  'aliases' =>
46
  array (
47
  ),
48
- 'reference' => '43be3208bcb35cede75bbc470e079c31e84bf7ea',
49
  ),
50
  'twig/cache-extension' =>
51
  array (
1
  <?php return array (
2
  'root' =>
3
  array (
4
+ 'pretty_version' => '1.22.1.x-dev',
5
+ 'version' => '1.22.1.9999999-dev',
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => '57fc582c42519f1b05fff5fb2ebf4291b5cd638f',
10
  'name' => 'timber/timber',
11
  ),
12
  'versions' =>
31
  ),
32
  'symfony/polyfill-ctype' =>
33
  array (
34
+ 'pretty_version' => 'v1.27.0',
35
+ 'version' => '1.27.0.0',
36
  'aliases' =>
37
  array (
38
  ),
39
+ 'reference' => '5bbc823adecdae860bb64756d639ecfec17b050a',
40
  ),
41
  'timber/timber' =>
42
  array (
43
+ 'pretty_version' => '1.22.1.x-dev',
44
+ 'version' => '1.22.1.9999999-dev',
45
  'aliases' =>
46
  array (
47
  ),
48
+ 'reference' => '57fc582c42519f1b05fff5fb2ebf4291b5cd638f',
49
  ),
50
  'twig/cache-extension' =>
51
  array (
vendor/symfony/polyfill-ctype/composer.json CHANGED
@@ -31,7 +31,7 @@
31
  "minimum-stability": "dev",
32
  "extra": {
33
  "branch-alias": {
34
- "dev-main": "1.26-dev"
35
  },
36
  "thanks": {
37
  "name": "symfony/polyfill",
31
  "minimum-stability": "dev",
32
  "extra": {
33
  "branch-alias": {
34
+ "dev-main": "1.27-dev"
35
  },
36
  "thanks": {
37
  "name": "symfony/polyfill",