[wp-trac] [WordPress Trac] #58903: set_transient() allows invalid transient name
WordPress Trac
noreply at wordpress.org
Fri Aug 11 17:41:57 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 flixos90):
Thanks for the ticket and detailed description @jeremyescott!
I think you make some great points, and the PR looks solid to me.
The only thing that I'm less sure about is how to deal with the 172
character limit. Is this because of the database column type and its
limitations? If so, I think this particular restriction would be better to
discuss separately for whether we want to enforce it at the code level or
not, because it applies in several different areas as well. For example,
options would be subject to such a limit too, but I don't think the code
enforces that. So I think that particular point would be better to
discuss/explore separately from this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58903#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list