Seravo / seravo-plugin

Enhances WordPress with Seravo specific features and integrations
https://seravo.com/
GNU General Public License v2.0
37 stars 16 forks source link

Replace 'wp_date' with PHP built-in 'date' #704

Closed JoosuaKoskinen closed 1 year ago

JoosuaKoskinen commented 1 year ago

What are the main changes in this PR?

Replaces wp_date with PHP built-in function (since PHP 4) date because wp_date was introduced to WP core in version 5.3 and Seravo Plugin needs to support WP core 4.9.

Why are we doing this? Any context or related work?

Customer site had issues with older WP core.

Manual testing steps?

  1. Go to upkeep page and find PHP version postbox.
  2. Make sure the PHP EOL dates are the same before and after this change.