[wp-trac] [WordPress Trac] #43977: Fix error-prone string to array parsing

WordPress Trac noreply at wordpress.org
Sat Jul 21 12:45:54 UTC 2018


#43977: Fix error-prone string to array parsing
------------------------------------------+-----------------------
 Reporter:  flixos90                      |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  5.0
Component:  General                       |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  rest-api
------------------------------------------+-----------------------
Changes (by sstoqnov):

 * Attachment "43977.diff" added.

 Add PREG_SPLIT_NO_EMPTY flag to preg_split to avoid arrays with empty
 values

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43977>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list