Escape vars on Event Importer
This commit is contained in:
@@ -475,7 +475,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
|||||||
<?php
|
<?php
|
||||||
foreach( (new SP_Formats)->event as $name => $title ) {
|
foreach( (new SP_Formats)->event as $name => $title ) {
|
||||||
?>
|
?>
|
||||||
<li><input type="radio" name="sp_format" class="post-format" id="post-format-<?php echo $name; ?>" value="<?php echo $name; ?>" checked="checked"> <label for="post-format-<?php echo $name; ?>" class="post-format-icon post-format-<?php echo $name; ?>"><?php echo $title; ?></label></li>
|
<li><input type="radio" name="sp_format" class="post-format" id="post-format-<?php echo esc_attr( $name ); ?>" value="<?php echo esc_attr( $name ); ?>" checked="checked"> <label for="post-format-<?php echo esc_attr( $name ); ?>" class="post-format-icon post-format-<?php echo esc_attr( $name ); ?>"><?php echo esc_attr( $title ); ?></label></li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user