xwp / unsplash-wp

GNU General Public License v2.0
9 stars 3 forks source link

Fix issue with 5.5 and 5.6 #223

Closed spacedmonkey closed 3 years ago

spacedmonkey commented 3 years ago

Summary

After the experimental Block. component was deprecate in https://github.com/WordPress/gutenberg/pull/25515, this meant it generated an error on preview. This is because it needs* ref to be passed.

Fixes #

Checklist

ravichdev commented 3 years ago

@spacedmonkey I've tested the fix on WP 5.6 and it's working well, no longer seeing the exception.