Skip to content

Commit

Permalink
Merge pull request #30 from voceconnect/output_escaping_VIP_request_4…
Browse files Browse the repository at this point in the history
…2208

Escape final meta tag values before output.
  • Loading branch information
Jeff Stieler committed Jun 24, 2015
2 parents 12c870b + f9ff5a1 commit 9117bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions voce-seo.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: Voce SEO
Version: 0.5.2
Version: 0.5.3
Plugin URI: http://voceconnect.com/
Description: An SEO plugin taking things from both WP SEO and All in One SEO but leaving out the VIP incompatible pieces.
Author: Voce Platforms
Expand Down Expand Up @@ -253,7 +253,7 @@ public static function output_meta_objects_html( $meta_objects = array() ) {
if ( $element && $attributes && is_array($attributes) ) {

foreach( $attributes as $att => $value ) {
$atts_string .= sprintf( '%s="%s" ', $att, $value );
$atts_string .= sprintf( '%s="%s" ', $att, esc_attr( $value ) );
}

$html .= sprintf( '<%s %s/>' . PHP_EOL, $element, $atts_string );
Expand Down

0 comments on commit 9117bcb

Please sign in to comment.