PluginProbe
Event Post / 6.1.2
Event Post v6.1.2
6.1.2 6.1.1 6.1.0 6.0.1 6.0.0 5.12.0 trunk 3.9 4.0 4.2 4.3 4.4 4.5 5.0 5.1 5.10.0 5.10.1 5.10.2 5.10.3 5.10.4 5.11.0 5.11.1 5.2 5.5 5.6 All 47 releases
← All changes | inc/deprecated/widget.map.php +6 -1 5.10.3 → 6.1.2 View file →
@@ -4,8 +4,11 @@
4 4 * Displays a map of geolocalized posts
5 5 * @deprecated
6 6 * @package event-post
7 7 */
8 +
9 +if ( ! defined( 'ABSPATH' ) ) exit;
10 +
8 11 class EventPost_Map extends WP_Widget {
9 12 var $defaults;
10 13 function __construct() {
11 14 global $EventPost;
@@ -236,9 +239,11 @@
236 239 <?php foreach($EventPost->map_interactions as $int_key=>$int_name): ?>
237 240 <p>
238 241 <label for="<?php echo $this->get_field_id($int_key); ?>">
239 242 <input id="<?php echo $this->get_field_id($int_key); ?>" name="<?php echo $this->get_field_name($int_key); ?>" type="checkbox" value="1" <?php checked($instance[$int_key], true , true); ?>/>
240 - <?php printf(__('Activate %s interaction','event-post'), $int_name); ?>
243 + <?php
244 + // Translators: %s is the interaction name
245 + printf(__('Activate %s interaction','event-post'), $int_name); ?>
241 246 </label>
242 247 </p>
243 248 <?php endforeach; ?>
244 249 <?php