Calendar by WD – Responsive Event Calendar - Version 1.4.29

Version Description

Changed: Notices order

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Calendar by WD – Responsive Event Calendar
Version 1.4.29
Comparing to
See all releases

Code changes from version 1.4.28 to 1.4.29

calendar.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
- Version: 1.4.28
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
- $wd_spider_calendar_version="1.4.28";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
+ Version: 1.4.29
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
+ $wd_spider_calendar_version="1.4.29";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
notices.php CHANGED
@@ -3,16 +3,6 @@
3
  if ( ! defined( 'ABSPATH' ) ) exit;
4
 
5
  function sc_admin_notices( $notices ) {
6
- $one_week_support = add_query_arg( array( 'sc_admin_notice_ignore' => 'one_week_support' ) );
7
- $notices['one_week_support'] = array(
8
- 'title' => __( 'Hey! How\'s It Going?', 'spider-event-calendar' ),
9
- 'msg' => __( 'Thank you for using WordPress Spider Calendar! We hope that you\'ve found everything you need, but if you have any questions:', 'spider-event-calendar' ),
10
- 'link' => '<li><span class="dashicons dashicons-media-text"></span><a target="_blank" href="https://web-dorado.com/wordpress-spider-calendar/installing.html">' . __( 'Check out User Guide', 'spider-event-calendar' ) . '</a></li>
11
- <li><span class="dashicons dashicons-sos"></span><a target="_blank" href="https://web-dorado.com/forum/spider-calendar-wordpress.html">' . __( 'Get Some Help' ,'spider-event-calendar' ) . '</a></li>
12
- <li><span class="dashicons dashicons-dismiss"></span><a href="' . $one_week_support . '">' . __( 'Never show again' ,'spider-event-calendar' ) . '</a></li>',
13
- 'int' => 7
14
- );
15
-
16
  $two_week_review_ignore = add_query_arg( array( 'sc_admin_notice_ignore' => 'two_week_review' ) );
17
  $two_week_review_temp = add_query_arg( array( 'sc_admin_notice_temp_ignore' => 'two_week_review', 'int' => 14 ) );
18
  $notices['two_week_review'] = array(
@@ -22,10 +12,19 @@ function sc_admin_notices( $notices ) {
22
  <li> <span class="dashicons dashicons-smiley"></span><a href="' . $two_week_review_ignore . '"> ' . __( 'I\'ve already left a review', 'sc_admin_notice' ) . '</a></li>
23
  <li><span class="dashicons dashicons-calendar-alt"></span><a href="' . $two_week_review_temp . '">' . __( 'Maybe Later' ,'sc_admin_notice' ) . '</a></li>
24
  <li><span class="dashicons dashicons-dismiss"></span><a href="' . $two_week_review_ignore . '">' . __( 'Never show again' ,'sc_admin_notice' ) . '</a></li>',
25
-
26
  'int' => 14
27
  );
28
-
 
 
 
 
 
 
 
 
 
29
 
30
  return $notices;
31
  }
3
  if ( ! defined( 'ABSPATH' ) ) exit;
4
 
5
  function sc_admin_notices( $notices ) {
 
 
 
 
 
 
 
 
 
 
6
  $two_week_review_ignore = add_query_arg( array( 'sc_admin_notice_ignore' => 'two_week_review' ) );
7
  $two_week_review_temp = add_query_arg( array( 'sc_admin_notice_temp_ignore' => 'two_week_review', 'int' => 14 ) );
8
  $notices['two_week_review'] = array(
12
  <li> <span class="dashicons dashicons-smiley"></span><a href="' . $two_week_review_ignore . '"> ' . __( 'I\'ve already left a review', 'sc_admin_notice' ) . '</a></li>
13
  <li><span class="dashicons dashicons-calendar-alt"></span><a href="' . $two_week_review_temp . '">' . __( 'Maybe Later' ,'sc_admin_notice' ) . '</a></li>
14
  <li><span class="dashicons dashicons-dismiss"></span><a href="' . $two_week_review_ignore . '">' . __( 'Never show again' ,'sc_admin_notice' ) . '</a></li>',
15
+ 'later_link' => $two_week_review_temp,
16
  'int' => 14
17
  );
18
+
19
+ $one_week_support = add_query_arg( array( 'sc_admin_notice_ignore' => 'one_week_support' ) );
20
+ $notices['one_week_support'] = array(
21
+ 'title' => __( 'Hey! How\'s It Going?', 'spider-event-calendar' ),
22
+ 'msg' => __( 'Thank you for using WordPress Spider Calendar! We hope that you\'ve found everything you need, but if you have any questions:', 'spider-event-calendar' ),
23
+ 'link' => '<li><span class="dashicons dashicons-media-text"></span><a target="_blank" href="https://web-dorado.com/wordpress-spider-calendar/installing.html">' . __( 'Check out User Guide', 'spider-event-calendar' ) . '</a></li>
24
+ <li><span class="dashicons dashicons-sos"></span><a target="_blank" href="https://web-dorado.com/forum/spider-calendar-wordpress.html">' . __( 'Get Some Help' ,'spider-event-calendar' ) . '</a></li>
25
+ <li><span class="dashicons dashicons-dismiss"></span><a href="' . $one_week_support . '">' . __( 'Never show again' ,'spider-event-calendar' ) . '</a></li>',
26
+ 'int' => 7
27
+ );
28
 
29
  return $notices;
30
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-calendar.html
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,o nline calendar, holiday calendar, scheduling, free calendar, Calender, upcoming events, event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting, appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, reservation
5
  Requires at least: 3.4
6
- Tested up to: 4.3
7
- Stable tag: 1.4.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -141,6 +141,11 @@ Vietnamese (vi)
141
 
142
 
143
  == Changelog ==
 
 
 
 
 
144
  = 1.4.28 =
145
  Fixed: bug in adding events
146
  New: Notices
3
  Donate link: https://web-dorado.com/products/wordpress-calendar.html
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,o nline calendar, holiday calendar, scheduling, free calendar, Calender, upcoming events, event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting, appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, reservation
5
  Requires at least: 3.4
6
+ Tested up to: 4.4
7
+ Stable tag: 1.4.29
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
141
 
142
 
143
  == Changelog ==
144
+
145
+ = 1.4.29 =
146
+ Changed: Notices order
147
+
148
+
149
  = 1.4.28 =
150
  Fixed: bug in adding events
151
  New: Notices
spider_calendar_admin_class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
- protected $version = '1.4.28';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
+ protected $version = '1.4.29';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {
spider_calendar_notices_class.php CHANGED
@@ -100,8 +100,7 @@ class SC_Notices {
100
  if ($admin_display_check == 0 && strtotime( $admin_display_start ) <= strtotime( $current_date )) {
101
 
102
  // Get remaining query string
103
- $query_str = esc_url( add_query_arg( 'sc_admin_notice_ignore', $slug ) );
104
-
105
  // Admin notice display output
106
  echo '<div class="update-nag sc-admin-notice">';
107
  echo '<div class="sc-notice-logo"></div>';
100
  if ($admin_display_check == 0 && strtotime( $admin_display_start ) <= strtotime( $current_date )) {
101
 
102
  // Get remaining query string
103
+ $query_str = (isset($admin_notices[$slug]['later_link']) ? $admin_notices[$slug]['later_link'] : esc_url(add_query_arg('sc_admin_notice_ignore', $slug)));
 
104
  // Admin notice display output
105
  echo '<div class="update-nag sc-admin-notice">';
106
  echo '<div class="sc-notice-logo"></div>';