[wp-trac] [WordPress Trac] #35755: wp_tempnam produces filenames longer than 255 characters

WordPress Trac noreply at wordpress.org
Tue Jun 27 11:28:08 UTC 2023


#35755: wp_tempnam produces filenames longer than 255 characters
---------------------------------------------------+---------------------
 Reporter:  doems                                  |       Owner:  (none)
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  6.3
Component:  Filesystem API                         |     Version:  4.4
 Severity:  normal                                 |  Resolution:
 Keywords:  has-patch has-unit-tests dev-feedback  |     Focuses:
---------------------------------------------------+---------------------

Comment (by mikeschroder):

 I have not tested this manually, but I think the approach is solid, and am
 +1 on this.

 I wish we could do it at the same time for `wp_unique_filename()`, but
 fixing it in one place doesn't keep us from doing future changes!

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


More information about the wp-trac mailing list