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.search.php +4 -0 5.11.1 → 6.1.2 View file →
@@ -2,8 +2,11 @@
2 2 /**
3 3 * @deprecated
4 4 * @package event-post
5 5 */
6 +
7 +if ( ! defined( 'ABSPATH' ) ) exit;
8 +
6 9 class EventPost_Search extends WP_Widget {
7 10 var $defaults;
8 11 function __construct() {
9 12 parent::__construct(false, __( 'Events Search Form', 'event-post' ),array('description'=>__( 'List of future events posts', 'event-post' )));
@@ -63,8 +66,9 @@
63 66 echo wp_kses($args['before_title'], EventPost()->kses_tags);
64 67 echo esc_html($instance['widgettitle']);
65 68 if(!empty($instance['cat']) && $instance['feed']){
66 69 $rss_link = admin_url('admin-ajax.php') . '?action=EventPostFeed&cat=' . $instance['cat'];
70 + // Translators: %s is the category name
67 71 echo' <a href="' . esc_url($rss_link) . '" title="'.esc_attr(sprintf(__('feed of %s', 'event-post'), $instance['cat'])).'"><span class="dashicons dashicons-rss"></span></a>';
68 72 }
69 73 echo wp_kses($args['after_title'], EventPost()->kses_tags);
70 74 }