WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24201


Ignore:
Timestamp:
04/26/13 13:51:27 (22 months ago)
Author:
SergeyBiryukov
Comment:

Related: [15911]

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24201

    • Property Version changed from 3.5.1 to 3.1
  • Ticket #24201 – Description

    initial v1  
    66 
    77Example: 
     8{{{ 
    89define(WP_PROXY_BYPASS_HOSTS, '*.example.com'); 
    9  
     10}}} 
    1011foo.bar.example.com will not use proxy. 
    1112foo-bar.example.com will use proxy. 
     
    1314POSSIBLE SOLUTION:  
    1415Change the line 1411 from  
     16{{{ 
    1517     $wildcard_regex[] = str_replace('\*', '[\w.]+?', preg_quote($host, '/')); 
     18}}} 
    1619to 
     20{{{ 
    1721     $wildcard_regex[] = str_replace('\*', '[\w.-]+?', preg_quote($host, '/')); 
    18  
    19 [[BR]] 
    20  
     22}}} 
    2123 
    2224Yours, 
    23 [[BR]] 
    24  
    25  
    2625Erich Lerch