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

fix: change the order of image source checking in HasMetadata #32

Open
wants to merge 1 commit into
base: v1.x
Choose a base branch
from

Conversation

Exarillion
Copy link

Functinally, If I had set a global OG Image from settings, All pages should display it for the SEO pruposes. However previous code was cousing trouble because of the HasMetadata:61 ( "elseif ($this->hasAnyBlockMedias())") control. In our system, it was taking an unreleated image in a block as og image instead of the global one in settings. This order change would fix this.

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

Successfully merging this pull request may close these issues.

1 participant