pfefferle / wordpress-semantic-linkbacks

More meaningfull linkbacks
https://wordpress.org/plugins/semantic-linkbacks
MIT License
31 stars 18 forks source link

These are the changes @lordmatt made to stop fatal errors on my site #260

Closed lordmatt closed 2 years ago

lordmatt commented 2 years ago

It seems there are edge cases where some static functions in class-linkbacks-mf2-handler.php return null after failing all the conditionals. Other methods call these but fail to test for null. This leads to some instances of fatal errors. This push works for my site and stops the errors. It may be that better defaults can be found and/or more helpful actions in case of a wrong var type.

This is in use at openmentions.com.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.