PluginProbe
Property Hive / 2.3.1
Property Hive v2.3.1
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
← All changes | templates/emails/email-header.php +4 -4 2.2.52.3.1 View file →
@@ -16,10 +16,10 @@
16 16 ?>
17 17 <!DOCTYPE html>
18 18 <html dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
19 19 <head>
20 - <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
21 - <title><?php echo get_bloginfo( 'name', 'display' ); ?></title>
20 + <meta http-equiv="Content-Type" content="text/html; charset=<?php echo esc_attr( get_bloginfo( 'charset' ) ); ?>" />
21 + <title><?php echo esc_html( get_bloginfo( 'name', 'display' ) ); ?></title>
22 22 </head>
23 23 <body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
24 24 <div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
25 25 <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
@@ -29,11 +29,11 @@
29 29 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container">
30 30 <tr>
31 31 <td align="center" valign="top">
32 32
33 - <?php if ( $img = get_option( 'propertyhive_email_header_image' ) ) { ?>
33 + <?php if ( $propertyhive_header_image = get_option( 'propertyhive_email_header_image' ) ) { ?>
34 34 <div id="template_header_image">
35 - <?php echo '<a href="' . site_url() . '" target="_blank"><img src="' . esc_url( $img ) . '" alt="' . get_bloginfo( 'name', 'display' ) . '" /></a>';
35 + <?php echo '<a href="' . esc_url( site_url() ) . '" target="_blank"><img src="' . esc_url( $propertyhive_header_image ) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" /></a>';
36 36 ?>
37 37 </div>
38 38 <?php } ?>
39 39