[RSS Feed/News] Inconsistent extracting phrase group from phrase title

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
\XF\Entity\Phrase
PHP:

Code:
	public function getPhraseGroup($new = true)
	{
		$title = $new ? $this->getValue('title') : $this->getExistingValue('title');
		if (!$title || !preg_match('/^([a-z0-9_]+)\./i', $title, $match))
		{
			return null;
		}
...

XF\Service\Phrase\Rebuild
PHP:

Code:
	protected function _rebuildPhraseMap($id, array $map, array $phraseList)
	{
...
			$parts = explode('.', $title);

\XF\Language
PHP:

Code:
	public function getPhraseText($name)
	{
...
		$parts =...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom