salcode / salferrarello-com-mods

Since I'm running an unmodified version of Bootstrap Genesis on salferrarello.com, I'm placing my customizations in this plugin.
1 stars 0 forks source link

Add namespaces for functions #8

Closed salcode closed 4 years ago

salcode commented 4 years ago

Due to the simplicity of this plugin I'm using procedural code rather than object-oriented code.

Since WordPress increased the minimum PHP version from 5.2 to 5.6 (in April 2019), PHP namespaces are available on all WordPress sites running a WordPress supported version (note: at the time of this writing PHP 7.2 is the oldest version still covered under security support, see PHP supported versions).

Therefore we should introduce a namespace to avoid function name collisions.

salcode commented 4 years ago

Resolved in v1.4.0