Opened 11 years ago
Closed 11 years ago
#28462 closed defect (bug) (fixed)
Improved inline documentation for get_transient() in wp-includes/options.php.
Reported by: | Owned by: | SergeyBiryukov | |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Options, Meta APIs | Keywords: | has-patch dev-feedback |
Focuses: | docs | Cc: |
Description
I noticed that the inline documentation for get_transient() doesn't reflect the possibility that it's value is False if the transient is expired.
Since using transients is tightly coupled to expirations, I thought it makes sense to add that to the inline documentation.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch for inline documentation