[wp-trac] [WordPress Trac] #28467: Improved inline docs for set_transient & set_site_transient in options.php

WordPress Trac noreply at wordpress.org
Fri Jun 6 13:03:21 UTC 2014


#28467: Improved inline docs for set_transient & set_site_transient in options.php
-------------------------------------+--------------------
 Reporter:  edwin-at-studiojoyo.com  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.0
Component:  Options, Meta APIs       |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch dev-feedback   |     Focuses:  docs
-------------------------------------+--------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 4.0


Old description:

> The maximal length for the string $transient is not defined in the inline
> documentation. This patch adds this for set_transient and
> set_site_transient.
>
> In the Codex (https://core.trac.wordpress.org/ticket/15058) there is
> already a discussion about this topic; however, that is about validation.
> And as this discussion is still ongoing, this addition to the inline
> documentation is helpful to the developers and users.

New description:

 The maximal length for the string $transient is not defined in the inline
 documentation. This patch adds this for set_transient and
 set_site_transient.

 In the Codex (#15058) there is already a discussion about this topic;
 however, that is about validation. And as this discussion is still
 ongoing, this addition to the inline documentation is helpful to the
 developers and users.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28467#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list