Last Updated: February 25, 2016
·
771
· nerrad

WP_Transient API gotcha

When working with the WordPress transient api, keep in mind that what you use as a key for the transient must be 40 characters or less. Anything more and the transient doesn't get set. You're welcome.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside