Tag Info

New answers tagged


Your code has 3 problems you use one DB query to save another DB query. You query a transient value instead of the post table which might or might not be faster but you don't save the penalty of communicating with the DB. You should not store objects in transients or options. According to the documentation values there are supposed to be scalars only which ...


I have actually worked on a post yesterday (check it out here) and was hit by the same problem. I'm also new to the Transient API, never actually worked with it :-). The problem here is that for a specific loop you need to use a certain value outside of your transient. You are simply storing the wrong values, and because of this, you are getting these ...

Top 50 recent answers are included