[wp-trac] [WordPress Trac] #46146: dbDelta not parsing enum correctly

WordPress Trac noreply at wordpress.org
Thu Nov 17 19:28:49 UTC 2022


#46146: dbDelta not parsing enum correctly
--------------------------+------------------------------
 Reporter:  janjakes      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by rlorenzo):

 I found that having spaces is no longer an issue in newer versions of
 WordPress, but there is still a parsing issue with ENUMs if there are new
 lines between the elements. For example:


 {{{
 enum('a',
 'b',
 'c'
 )
 }}}

 This is a problem with WordPress 5.6.

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


More information about the wp-trac mailing list