Move alternative PHP Functions in All_in_One_SEO_Pack_Module class to a static class so that it can be accessed across the plugin. This would also further centralize tracking compatibility with PHP versions; for when it becomes time to drop older versions of PHP.
Some of these functions/methods are improved operations (performance, multilingual, etc.), or for compatibility with older PHP versions; where the function already exists, but params or operations changed ( one example I recently held off on was dirname() with the $levels param that was added in 7.0 ).
Move alternative PHP Functions in
All_in_One_SEO_Pack_Module
class to a static class so that it can be accessed across the plugin. This would also further centralize tracking compatibility with PHP versions; for when it becomes time to drop older versions of PHP.Some of these functions/methods are improved operations (performance, multilingual, etc.), or for compatibility with older PHP versions; where the function already exists, but params or operations changed ( one example I recently held off on was dirname() with the
$levels
param that was added in 7.0 ).