This is a small compatibility fix required for all websites running WordPress 4.x.x – this update ensures not to call the blocks API (introduced with Gutenberg) where it does not exist due to an older WordPress version.
Do I have to update?
Gecko 2.2.0.1 is a minor release which only improves WordPress 4.x.x compatibility. If you are on WordPress 5.0.0+ there is no action required – if you want, you can skip 2.2.0.1 and wait for the next release.
Technical details of the issue
To register its own block types in the new WordPress editor, Gecko 2.2.0.0 is calling the register_block_type() function which was introduced in WordPress 5.0.0 along with Gutenberg and does not exist in WordPress 4.x.x.
To fix the problem, we have wrapped the code in if(function_exists()) block which ensures the call to non-existent function is not made on older versions of WordPress.
Brought to you by
Matt Jaworski
I am a professional nerd with **over fifteen years of experience** in the field of Open Source web development. Before [PeepSo](https://PeepSo.com) I was a contractor and have helped build successful businesses around the world, including USA, UK, Germany, Indonesia, and Malaysia. A couple of years leading up to founding PeepSo, I was involved with JomSocial โ a social networking extension for Joomla.
Stepping up from the role of a contractor to a business owner, I became [PeepSo](https://PeepSo.com) founder and Chief Technology Officer. I strive to build beautiful, fast, and functional software that **empowers users to build their own digital tribes with full autonomy and freedom** often not available on mainstream social networking media.
In 2023 we spun off a new company to launch [Awedesk](https://awedesk.com) – a complete ticket-based client support solution for WordPress.
I also created [ListoWP](https://LIstoWP.com), a modern to-do plugin for WordPress which is now evolving into a project management tool.
Reactions & comments
Due to increased security measures, you can now only log-in using your e-mail address.
If you do not remember your e-mail address, send us an email at support@peepso.com
Comments