Gecko Theme 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 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 and wait for the next release.

Technical details of the issue

To register its own block types in the new WordPress editor, Gecko 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]( 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 contractor to business owner, I became [PeepSo]( 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. I speak fluent English and Polish, decent German and Spanish and even some Indonesian.

Reactions & comments

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


@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