WordPress.org

Make WordPress Core

Ticket #19665: 19665.patch

File 19665.patch, 583 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-includes/formatting.php

     
    28432843        global $_links_add_base; 
    28442844        //1 = attribute name  2 = quotation mark  3 = URL 
    28452845        return $m[1] . '=' . $m[2] . 
    2846                 (strpos($m[3], 'http://') === false ? 
    2847                         path_join($_links_add_base, $m[3]) : 
    2848                         $m[3]) 
     2846                ( strpos( $m[3], 'http://' ) === false && strpos( $m[3], 'https://' ) === false ? 
     2847                        path_join( $_links_add_base, $m[3] ) : 
     2848                        $m[3] ) 
    28492849                . $m[2]; 
    28502850} 
    28512851