[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:39:47 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:
--------------------------+---------------------

Comment (by dd32):

 In [changeset:"42550"]:
 {{{
 #!CommitTicketReference repository="" revision="42550"
 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.

 Merges [42549] to the 4.9 branch.
 Fixes #43109 for 4.9.
 }}}

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


More information about the wp-trac mailing list