[wp-trac] [WordPress Trac] #40455: Docs for set_site_transient() says max length of transient name is 40, it's actually 167

WordPress Trac noreply at wordpress.org
Fri Apr 14 21:29:28 UTC 2017


#40455: Docs for set_site_transient() says max length of transient name is 40, it's
actually 167
--------------------------------+-----------------------------
 Reporter:  jdgrimes            |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:  4.4
 Severity:  normal              |   Keywords:
  Focuses:  docs                |
--------------------------------+-----------------------------
 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`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40455>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list