[wp-trac] [WordPress Trac] #28625: Enhancement: Add constants to support SSL connections for mysqli
WordPress Trac
noreply at wordpress.org
Fri Jan 1 23:35:52 UTC 2016
#28625: Enhancement: Add constants to support SSL connections for mysqli
----------------------------------------------+----------------------------
Reporter: hypertextranch | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Database | Release
Severity: normal | Version: 4.0
Keywords: has-patch dev-feedback 4.1-early | Resolution:
| Focuses:
----------------------------------------------+----------------------------
Comment (by nacin):
@pento, any thoughts on this?
----
How do other software projects handle configuration for this? I presume
they do not use constants, and thus can use an array (in the case of PHP
projects).
Replying to [comment:7 szaqal21]:
> Keep in mind that solution based on constants will force SSL for every
new connection so there could be problem when creating new wpdb for
database which doesn't support SSL. I think SSL should be set per wpdb
object.
I agree with the concern here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28625#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list