[wp-trac] [WordPress Trac] #43109: RegEx in parse_db_host() can cause notices and headers sent too early

WordPress Trac noreply at wordpress.org
Tue Jan 23 03:38:44 UTC 2018


#43109: RegEx in parse_db_host() can cause notices and headers sent too early
--------------------------+---------------------
 Reporter:  gallerycy     |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9.3
Component:  Database      |     Version:  4.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by dd32):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42549"]:
 {{{
 #!CommitTicketReference repository="" revision="42549"
 WPDB: Use a PCRE syntax which supports PCRE compiled between 2003 and
 2006.

 This fixes a PHP Warning in `wpdb::parse_db_host()` when WordPress is used
 with (sometimes a modern) PHP that's compiled against an ancient PCRE
 version.

 Fixes #43109 for trunk.
 }}}

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


More information about the wp-trac mailing list