Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25387, comment 38


Ignore:
Timestamp:
06/02/2016 04:43:39 AM (9 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25387, comment 38

    initial v1  
    1 25387.2.patch looks good. Wondering if it is worth it doing some light optimizations like 25387.3.patch?
     125387.2.patch looks good. Wondering if it is worth it doing some light optimizations like 25387.3.patch? Or even something like:
     2{{{
     3if ( ! preg_match( '@(?<!")https?://@i', $content ) ) {
     4    return $content;
     5}
     6}}}
     7
     8(return early if there are no URLs that are not preceded by a double quote).