[wp-trac] [WordPress Trac] #58903: set_transient() allows invalid transient name

WordPress Trac noreply at wordpress.org
Tue Aug 1 18:12:27 UTC 2023


#58903: set_transient() allows invalid transient name
--------------------------------------+---------------------
 Reporter:  jeremyescott              |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.4
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by jeremyescott):

 Following up on this...

 I initially reported that a created transient with an empty string for the
 $transient [key] argument would not cause an issue with functionality, and
 that remains true.

 However, I've observed now both Varnish and Redis caching, when installed
 to support WordPress, fall over when empty string name transients are
 attempted to be created.

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


More information about the wp-trac mailing list