[wp-trac] [WordPress Trac] #44533: wp_is_stream wrappers need preg delimiter when quoting

WordPress Trac noreply at wordpress.org
Tue Jul 17 11:40:08 UTC 2018


#44533: wp_is_stream wrappers need preg delimiter when quoting
--------------------------------------+----------------------
 Reporter:  JPry                      |       Owner:  (none)
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  Filesystem API            |     Version:  trunk
 Severity:  normal                    |  Resolution:  wontfix
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------

Comment (by JPry):

 Thanks for the explanation @pento

 What about the unit tests? Would these still be helpful for
 `wp_is_stream()` in general? They weren't particular to the use of
 `preg_quote()`, and I don't think there's currently any coverage for
 `wp_is_stream()` in core.

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


More information about the wp-trac mailing list