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

Don't invoke Mf2_Feed_Entry without a verified post #10

Open
tw2113 opened this issue Dec 27, 2019 · 0 comments
Open

Don't invoke Mf2_Feed_Entry without a verified post #10

tw2113 opened this issue Dec 27, 2019 · 0 comments

Comments

@tw2113
Copy link

tw2113 commented Dec 27, 2019

We should be checking for a valid post being available before we pass values into the class, not inside the class itself.

This would basically just be a case of moving the get_post() call out, and doing perhaps some is_wp_error checks first.

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