Gecko Theme 2.2.0.1 WordPress 4.x Compatibility Release

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 PeepSo Team 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 2022 I launched [EmeraldWP](https://EmeraldWP.com) which acts as an umbrella for my other projects such as ListoWP, Widget Shortcode Pro, and MomentsWP.

Reactions & comments

Join Our Community!
Join us to discuss PeepSo's features, connect with the development team and give suggestions.

Comments

@peepso_user_16687(tommyc691 lee)
Awesome, I think I will probably jump on it now. One last question, any recommendation for a hosting company?
February 25, 2019 4:40 PM
@peepso_user_10(Matt Jaworski)
@peepso_user_16687(tommy lee) we don't have any official favorites. We have been with LiquidWeb for a few years now. Our own website is on a powerful dedicated server, the demo is on a regular VPS. Both are with LiquidWeb: https://Peep.So/LW
Liquid Web is a leader in Managed Hosting solutions for mission critical sites & apps. When uptime and reliability are non-negotiable, trust Liquid Web!
February 26, 2019 9:49 AM
@peepso_user_16687(tommyc691 lee)
@peepso_user_10(Matt Jaworski) Thanks Matt, will check them out.
@peepso_user_11996(Earl D_)
Have this installed but I keep getting prompts to update to the same version
February 26, 2019 3:06 PM
@peepso_user_8(Matthew Jasiukiewicz)
@peepso_user_11996(Earl D.) Ignore it. It will be fixed in the next release.
@peepso_user_10(Matt Jaworski)
@peepso_user_11996(Earl D.) I was so excited to release a WP4 fix I forgot to bump the internal version number - it will fix itself with the next release.
February 27, 2019 12:49 AM