1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 17:24:46 +02:00

Bump version to 3.0.154

This commit is contained in:
Ryan Cramer
2020-04-17 15:29:10 -04:00
parent dde4c92b78
commit 670916e730
2 changed files with 3 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class ProcessWire extends Wire {
* Reversion revision number
*
*/
const versionRevision = 153;
const versionRevision = 154;
/**
* Version suffix string (when applicable)

View File

@@ -257,9 +257,10 @@ class LanguageTranslator extends Wire {
*
* @param string|object $textdomain
* @return string
* @since 3.0.154 was protected in prior versions
*
*/
protected function textdomainString($textdomain) {
public function textdomainString($textdomain) {
if(is_string($textdomain) && (strpos($textdomain, DIRECTORY_SEPARATOR) !== false || strpos($textdomain, '/') !== false)) {
$textdomain = $this->filenameToTextdomain($textdomain); // @werker #424