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 a decade 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. Stepping up from the role of contractor to business owner, I became [PeepSo](https://PeepSo.com) founder and Chief Technology Officer. I strive to build beautiful, fast and functional software that **empowers the users to build their own digital tribes with full autonomy and freedom** often not available on the mainstream social networking media. As a **location independent** *digital nomad* I travel almost constantly, although over the past five years I have spent most of my time in Indonesia and Malaysia.

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?
9 months ago 9 months ago
@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!
9 months ago 9 months ago
@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
9 months ago 9 months ago
@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.
9 months ago 9 months ago