Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20316, comment 49


Ignore:
Timestamp:
09/13/2013 06:53:19 AM (11 years ago)
Author:
DavidAnderson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20316, comment 49

    initial v1  
    1 I think everyone on this ticket understands the intended purpose of transients - to store data that is capable of being regenerated.
     1I think everyone on this ticket can understand the intended purpose of transients - to store data that is capable of being regenerated.
    22
    33The issue I'm seeing is that because of the state of the documentation in Codex, many coders have come to use them another way. If you read through http://codex.wordpress.org/Transients_API, then you can easily come away with the understanding that the expiration time is the *maximum*. The fact that transients can (and should be expected to) expire at *any* time is implicit/in the background, and can easily be missed. If you read the "Overview" section through, trying to read it as if it spread first one view, then the other, you'll see what I mean. dd32 says that people are "abusing" the transients API. That's correct - but I contend that the documentation has led, and is still leading, people into that.