Opened 9 years ago
Closed 9 years ago
#40455 closed defect (bug) (fixed)
Docs for set_site_transient() says max length of transient name is 40, it's actually 167
| Reported by: | jdgrimes | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Options, Meta APIs | Version: | 4.4 |
| Severity: | normal | Keywords: | good-first-bug |
| Cc: | Focuses: | docs |
Description
In [28735] the docs were added, and in [34030] the length of the option_name column was lengthened. The docs for set_transient() were updated in [34045], but set_site_transient() was missed.
The length of the option_name column was updated to 191, but 24 characters are taken up by prefixing the transient name with _site_transient_timeout_ when the timeout is saved. 191 - 24 = 167.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Basic patch