[wp-trac] [WordPress Trac] #26847: MySQL 5.6 default install can break WordPress
WordPress Trac
noreply at wordpress.org
Tue Jan 28 03:05:35 UTC 2014
#26847: MySQL 5.6 default install can break WordPress
------------------------------------+------------------
Reporter: pento | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Database | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------
Comment (by pento):
attachment:26847.5.diff
I realised the filter won't actually work, the DB connect happens way
before plugins can add a filter. So, this patch turns `set_sql_mode()`
into a function that a plugin can call at a later date, if they need to
add or remove their own SQL modes.
The patch now includes unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26847#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list