[wp-trac] [WordPress Trac] #8857: Make WP MySQL strict mode compliant
WordPress Trac
noreply at wordpress.org
Mon Nov 9 22:47:06 UTC 2020
#8857: Make WP MySQL strict mode compliant
-------------------------+----------------------
Reporter: ghostks | Owner: (none)
Type: enhancement | Status: closed
Priority: lowest | Milestone:
Component: Database | Version: 2.7
Severity: minor | Resolution: wontfix
Keywords: | Focuses:
-------------------------+----------------------
Comment (by nsinelnikov):
@helen
Could you clarify, the user can independently choose in which mode to use
the database?
What happens if he uses it in strict mode? It's just that I, as the author
of the plugin, received an error report that the table was not created by
dbDelta due to the fact that the default value is out of scope.
What standard value should I use for myself? Which supports the core or
refer to the MySQL documentation.
Previously I thought that '0000-00-00 00:00:00' is the correct value =)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/8857#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list