[wp-trac] [WordPress Trac] #64005: Cast the Non_unique to a string before checking it

WordPress Trac noreply at wordpress.org
Thu Sep 18 23:02:33 UTC 2025


#64005: Cast the Non_unique to a string before checking it
--------------------------+-----------------------------
 Reporter:  tsteel        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.8.2
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 We're piping our queries through Doctrine DBAL which casts Non_unique to
 an integer (which it should be). However, when the dbDelta function runs
 it specifically checks for a string and it fails.

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


More information about the wp-trac mailing list