Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Conversation

@BronsonQuick
Copy link

Currently If there are no additional image sizes you will see the following warning:

Warning: array_key_exists() expects parameter 2 to be array, null given in /vagrant/content/mu-plugins/vendor/image-shortcake/inc/class-img-shortcode.php on line 34

This PR resolves this issue.

Copy link
Contributor

@goldenapples goldenapples left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. The WPCS errors are unrelated and can be fixed in a separate PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants