[wp-trac] [WordPress Trac] #52723: Admin options.php default value to NULL for option_value may lead to MySQL Integrity constraint violation error, potential other bugs

WordPress Trac noreply at wordpress.org
Sun Jun 2 05:05:44 UTC 2024


#52723: Admin options.php default value to NULL for option_value may lead to MySQL
Integrity constraint violation error, potential other bugs
-------------------------------------------------+-------------------------
 Reporter:  pinoceniccola                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.6
Component:  Options, Meta APIs                   |     Version:  2.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  testing                                        |  administration
-------------------------------------------------+-------------------------

Comment (by shailu25):

 Refreshed the patch & added Empty String Instead of 0 in Default Option.

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


More information about the wp-trac mailing list