WordPress.org

Plugin Directory

Changeset 1781498


Ignore:
Timestamp:
12/05/17 18:00:43 (6 weeks ago)
Author:
sminozzi
Message:

Version 2.24

Location:
cardealer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cardealer/trunk/cardealer.php

    r1781470 r1781498  
    8585  require_once (CARDEALERPATH . 'includes/templates/template-showroom1.php'); 
    8686require_once (CARDEALERPATH . 'includes/contact-form/contact-form.php'); 
    87 $cardealerurl = $_SERVER['REQUEST_URI']; 
     87$cardealerurl = esc_url($_SERVER['REQUEST_URI']); 
    8888    if (strpos($cardealerurl,'car') !== false) { 
    8989               $CarDealer_overwrite_gallery = strtolower(get_option('CarDealer_overwrite_gallery', 
  • cardealer/trunk/includes/functions/functions.php

    r1781473 r1781498  
    175175                     </div>'; 
    176176} 
    177 $cardealerurl = $_SERVER['REQUEST_URI']; 
     177$cardealerurl = esv_url($_SERVER['REQUEST_URI']); 
    178178if (strpos($cardealerurl, '/options-permalink.php') === false) 
    179179{             
  • cardealer/trunk/includes/templates/redirect.php

    r1708438 r1781498  
    3030   if (is_single()) { 
    3131 
    32         $cardealerurl = $_SERVER['REQUEST_URI']; 
     32        $cardealerurl = esc_url($_SERVER['REQUEST_URI']); 
    3333        if (strpos($cardealerurl, '/car/') === false) 
    3434            return; 
Note: See TracChangeset for help on using the changeset viewer.