mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Bump version to 3.0.154
This commit is contained in:
@@ -46,7 +46,7 @@ class ProcessWire extends Wire {
|
|||||||
* Reversion revision number
|
* Reversion revision number
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const versionRevision = 153;
|
const versionRevision = 154;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Version suffix string (when applicable)
|
* Version suffix string (when applicable)
|
||||||
|
@@ -257,9 +257,10 @@ class LanguageTranslator extends Wire {
|
|||||||
*
|
*
|
||||||
* @param string|object $textdomain
|
* @param string|object $textdomain
|
||||||
* @return string
|
* @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)) {
|
if(is_string($textdomain) && (strpos($textdomain, DIRECTORY_SEPARATOR) !== false || strpos($textdomain, '/') !== false)) {
|
||||||
$textdomain = $this->filenameToTextdomain($textdomain); // @werker #424
|
$textdomain = $this->filenameToTextdomain($textdomain); // @werker #424
|
||||||
|
Reference in New Issue
Block a user