Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect news list sometimes fails #21

Open
Jimmi08 opened this issue Nov 5, 2019 · 0 comments
Open

detect news list sometimes fails #21

Jimmi08 opened this issue Nov 5, 2019 · 0 comments

Comments

@Jimmi08
Copy link

Jimmi08 commented Nov 5, 2019

It's because this test:

function metatag_entity_news_list_detect()
{
	$page = defset('e_PAGE', '');
	$query = defset('e_QUERY', '');

	if($page == 'news.php' && empty($query))
	{
		return true;
	}

	return false;
}

But values for news list are (query is not empty):

e_PAGE news.php
e_QUERY default.0.0  or e_QUERY default.0.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant