From b87404ade8fe85c8e912e6a313702067d73beea3 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 29 Mar 2019 15:34:22 -0400 Subject: [PATCH] Bump version to 3.0.128 --- wire/core/ProcessWire.php | 2 +- wire/core/WireHooks.php | 5 +++++ wire/modules/Process/ProcessPageSearch/ProcessPageSearch.css | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/wire/core/ProcessWire.php b/wire/core/ProcessWire.php index ef36a2be..6814b557 100644 --- a/wire/core/ProcessWire.php +++ b/wire/core/ProcessWire.php @@ -44,7 +44,7 @@ class ProcessWire extends Wire { * Reversion revision number * */ - const versionRevision = 127; + const versionRevision = 128; /** * Version suffix string (when applicable) diff --git a/wire/core/WireHooks.php b/wire/core/WireHooks.php index aed69fc8..bc8df16e 100644 --- a/wire/core/WireHooks.php +++ b/wire/core/WireHooks.php @@ -641,6 +641,11 @@ class WireHooks { $cacheValue = $options['type'] == 'method' ? "$method()" : "$method"; if($options['fromClass']) $this->hookClassMethodCache["$options[fromClass]::$cacheValue"] = true; $this->hookMethodCache[$cacheValue] = true; + if($options['type'] === 'either') { + $cacheValue = "$cacheValue()"; + $this->hookMethodCache[$cacheValue] = true; + if($options['fromClass']) $this->hookClassMethodCache["$options[fromClass]::$cacheValue"] = true; + } // keep track of all local hooks combined when debug mode is on if($local && $this->config->debug) { diff --git a/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.css b/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.css index a3cee08f..0dfc392c 100644 --- a/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.css +++ b/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.css @@ -59,3 +59,7 @@ opacity: 0.3; } +.pw-search-list .pw-wiretabs-item { + padding-top: 1em; +} +