bradyvercher / gistpress

WordPress plugin to add Gist oEmbed and shortcode support with caching.
GNU General Public License v2.0
143 stars 28 forks source link

Use Time Constants #43

Closed GaryJones closed 10 years ago

GaryJones commented 10 years ago

We have a couple of transient times using numbers - we could use constants from http://codex.wordpress.org/Easier_Expression_of_Time_Constants and make the code a little easier to read.

bradyvercher commented 10 years ago

The "requires" section in the readme will probably need to be updated to 3.5 with this change.

GaryJones commented 10 years ago

Good catch. I think 3.5 is still more than sufficient in terms of previous versions that we can support - no need to even try and support back to 2.9.0 that it may work with. Agreed?

bradyvercher commented 10 years ago

Definitely agree. Considering the audience, I don't think we need to support anything beyond the last 2 or 3 major releases.