Version Description
Fixes and improvements
- Fixes a bug introduced in #1813 that was watching for the query param of supress_filters
(instead of the correct spelling: suppress_filters
)
Download this release
Release Info
Developer | jarednova |
Plugin | Timber |
Version | 1.9.4 |
Comparing to | |
See all releases |
Code changes from version 1.9.3 to 1.9.4
- lib/PostGetter.php +2 -2
- lib/Timber.php +1 -1
- readme.txt +6 -1
- timber.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +3 -3
lib/PostGetter.php
CHANGED
@@ -75,8 +75,8 @@ class PostGetter {
|
|
75 |
if ( isset($query->query) && !isset($query->query['ignore_sticky_posts']) ) {
|
76 |
$query->set('ignore_sticky_posts', true);
|
77 |
}
|
78 |
-
if ( isset($query->query) && !isset($query->query['
|
79 |
-
$query->set('
|
80 |
}
|
81 |
if ( isset($query->query) && !isset($query->query['no_found_rows']) ) {
|
82 |
$query->set('no_found_rows', true);
|
75 |
if ( isset($query->query) && !isset($query->query['ignore_sticky_posts']) ) {
|
76 |
$query->set('ignore_sticky_posts', true);
|
77 |
}
|
78 |
+
if ( isset($query->query) && !isset($query->query['suppress_filters']) ) {
|
79 |
+
$query->set('suppress_filters', true);
|
80 |
}
|
81 |
if ( isset($query->query) && !isset($query->query['no_found_rows']) ) {
|
82 |
$query->set('no_found_rows', true);
|
lib/Timber.php
CHANGED
@@ -35,7 +35,7 @@ use Timber\Loader;
|
|
35 |
*/
|
36 |
class Timber {
|
37 |
|
38 |
-
public static $version = '1.9.
|
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.9.4';
|
39 |
public static $locations;
|
40 |
public static $dirname = 'views';
|
41 |
public static $twig_cache = false;
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: jarednova, connorjburton, lggorman
|
|
3 |
Tags: template engine, templates, twig
|
4 |
Requires at least: 4.7.12
|
5 |
Tested up to: 5.1.1
|
6 |
-
Stable tag: 1.9.
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -36,6 +36,11 @@ _Twig is the template language powering Timber; if you need a little background
|
|
36 |
**Changes for Theme Developers**
|
37 |
- Please add bullet points here with your PR. The heading for this section will get the correct version number once released.
|
38 |
|
|
|
|
|
|
|
|
|
|
|
39 |
= 1.9.3 =
|
40 |
|
41 |
**Changes for Theme Developers**
|
3 |
Tags: template engine, templates, twig
|
4 |
Requires at least: 4.7.12
|
5 |
Tested up to: 5.1.1
|
6 |
+
Stable tag: 1.9.4
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
36 |
**Changes for Theme Developers**
|
37 |
- Please add bullet points here with your PR. The heading for this section will get the correct version number once released.
|
38 |
|
39 |
+
= 1.9.4 =
|
40 |
+
|
41 |
+
**Fixes and improvements**
|
42 |
+
- Fixes a bug introduced in #1813 that was watching for the query param of `supress_filters` (instead of the correct spelling: `suppress_filters`)
|
43 |
+
|
44 |
= 1.9.3 =
|
45 |
|
46 |
**Changes for Theme Developers**
|
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: http://timber.upstatement.com
|
6 |
Author: Jared Novack + Upstatement
|
7 |
-
Version: 1.9.
|
8 |
Author URI: http://upstatement.com/
|
9 |
*/
|
10 |
// we look for Composer files first in the plugins dir.
|
4 |
Description: The WordPress Timber Library allows you to write themes using the power of Twig templates.
|
5 |
Plugin URI: http://timber.upstatement.com
|
6 |
Author: Jared Novack + Upstatement
|
7 |
+
Version: 1.9.4
|
8 |
Author URI: http://upstatement.com/
|
9 |
*/
|
10 |
// we look for Composer files first in the plugins dir.
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit67129ecbcd2c18d7da9a2caa8dce35f3::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit48a0e50ee74d15c846cc23afdacbfb84
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit67129ecbcd2c18d7da9a2caa8dce35f3
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit67129ecbcd2c18d7da9a2caa8dce35f3', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit67129ecbcd2c18d7da9a2caa8dce35f3', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|