My Calendar - Version 2.5.11

Version Description

  • Bug fix: Bottom mass action buttons outside of form
  • Bug fix: User select form used 'checked' instead of 'selected'
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 My Calendar
Version 2.5.11
Comparing to
See all releases

Code changes from version 2.5.10 to 2.5.11

css/mc-styles.css CHANGED
@@ -566,6 +566,10 @@ input[name="mc_uri"] {
566
  float: right;
567
  }
568
 
 
 
 
 
569
  .mc_add_new {
570
  position: relative;
571
  z-index: 200;
566
  float: right;
567
  }
568
 
569
+ .mc-admin-footer .mc-search {
570
+ float: none;
571
+ }
572
+
573
  .mc_add_new {
574
  position: relative;
575
  z-index: 200;
my-calendar-core.php CHANGED
@@ -50,7 +50,7 @@ function mc_selected_users( $selected = '', $group = 'authors' ) {
50
  $options = '';
51
  foreach ( $users as $u ) {
52
  if ( in_array( $u->ID, $selected ) ) {
53
- $checked = ' checked="checked"';
54
  } else {
55
  $checked = '';
56
  }
50
  $options = '';
51
  foreach ( $users as $u ) {
52
  if ( in_array( $u->ID, $selected ) ) {
53
+ $checked = ' selected="selected"';
54
  } else {
55
  $checked = '';
56
  }
my-calendar-event-manager.php CHANGED
@@ -1945,22 +1945,6 @@ function mc_list_events() {
1945
  </li>
1946
  </ul><?php
1947
  }
1948
- ?>
1949
- <div class='mc-search'>
1950
- <form action="<?php echo esc_url( add_query_arg( $_GET, admin_url( 'admin.php' ) ) ); ?>" method="post">
1951
- <div><input type="hidden" name="_wpnonce"
1952
- value="<?php echo wp_create_nonce( 'my-calendar-nonce' ); ?>"/>
1953
- </div>
1954
- <div>
1955
- <label for="mc_search_footer" class='screen-reader-text'><?php _e( 'Search', 'my-calendar' ); ?></label>
1956
- <input type='text' role='search' name='mcs' id='mc_search_footer'
1957
- value='<?php if ( isset( $_POST['mcs'] ) ) {
1958
- esc_attr_e( $_POST['mcs'] );
1959
- } ?>'/> <input type='submit' value='<?php _e( 'Search Events', 'my-calendar' ); ?>' class='button-secondary'/>
1960
- </div>
1961
- </form>
1962
- </div>
1963
- <?php
1964
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
1965
  ?>
1966
  <ul class="links">
@@ -1997,6 +1981,7 @@ function mc_list_events() {
1997
  printf( "<div class='tablenav'><div class='tablenav-pages'>%s</div></div>", $page_links );
1998
  }
1999
  ?>
 
2000
  <p class="event-actions">
2001
  <input type="submit" class="button-secondary delete" name="mass_delete" value="<?php _e( 'Delete events', 'my-calendar' ); ?>"/>
2002
  <?php if ( current_user_can( 'mc_approve_events' ) ) { ?>
@@ -2015,6 +2000,21 @@ function mc_list_events() {
2015
  <?php } ?>
2016
  </p>
2017
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2018
  <?php
2019
  } else { ?>
2020
  <p class='mc-none'><?php _e( "There are no events in the database meeting your current criteria.", 'my-calendar' ) ?></p><?php
1945
  </li>
1946
  </ul><?php
1947
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1948
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
1949
  ?>
1950
  <ul class="links">
1981
  printf( "<div class='tablenav'><div class='tablenav-pages'>%s</div></div>", $page_links );
1982
  }
1983
  ?>
1984
+ <div class='mc-admin-footer'>
1985
  <p class="event-actions">
1986
  <input type="submit" class="button-secondary delete" name="mass_delete" value="<?php _e( 'Delete events', 'my-calendar' ); ?>"/>
1987
  <?php if ( current_user_can( 'mc_approve_events' ) ) { ?>
2000
  <?php } ?>
2001
  </p>
2002
  </form>
2003
+ <div class='mc-search'>
2004
+ <form action="<?php echo esc_url( add_query_arg( $_GET, admin_url( 'admin.php' ) ) ); ?>" method="post">
2005
+ <div><input type="hidden" name="_wpnonce"
2006
+ value="<?php echo wp_create_nonce( 'my-calendar-nonce' ); ?>"/>
2007
+ </div>
2008
+ <div>
2009
+ <label for="mc_search_footer" class='screen-reader-text'><?php _e( 'Search', 'my-calendar' ); ?></label>
2010
+ <input type='text' role='search' name='mcs' id='mc_search_footer'
2011
+ value='<?php if ( isset( $_POST['mcs'] ) ) {
2012
+ esc_attr_e( $_POST['mcs'] );
2013
+ } ?>'/> <input type='submit' value='<?php _e( 'Search Events', 'my-calendar' ); ?>' class='button-secondary'/>
2014
+ </div>
2015
+ </form>
2016
+ </div>
2017
+ </div>
2018
  <?php
2019
  } else { ?>
2020
  <p class='mc-none'><?php _e( "There are no events in the database meeting your current criteria.", 'my-calendar' ) ?></p><?php
my-calendar.php CHANGED
@@ -7,7 +7,7 @@ Author: Joseph C Dolson
7
  Author URI: http://www.joedolson.com
8
  Text Domain: my-calendar
9
  Domain Path: lang
10
- Version: 2.5.10
11
  */
12
  /* Copyright 2009-2017 Joe Dolson (email : joe@joedolson.com)
13
 
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
30
  } // Exit if accessed directly
31
 
32
  global $mc_version, $wpdb;
33
- $mc_version = '2.5.10';
34
 
35
  register_activation_hook( __FILE__, 'mc_plugin_activated' );
36
  register_deactivation_hook( __FILE__, 'mc_plugin_deactivated' );
7
  Author URI: http://www.joedolson.com
8
  Text Domain: my-calendar
9
  Domain Path: lang
10
+ Version: 2.5.11
11
  */
12
  /* Copyright 2009-2017 Joe Dolson (email : joe@joedolson.com)
13
 
30
  } // Exit if accessed directly
31
 
32
  global $mc_version, $wpdb;
33
+ $mc_version = '2.5.11';
34
 
35
  register_activation_hook( __FILE__, 'mc_plugin_activated' );
36
  register_deactivation_hook( __FILE__, 'mc_plugin_deactivated' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.joedolson.com/donate/
4
  Tags: calendar, dates, times, event, events, scheduling, schedule, event manager, event calendar, class, concert, venue, location, box office, tickets, registration
5
  Requires at least: 4.4
6
  Tested up to: 4.7
7
- Stable tag: 2.5.9
8
  Text domain: my-calendar
9
  License: GPLv2 or later
10
 
@@ -83,6 +83,11 @@ Translating my plug-ins is always appreciated. Visit <a href="https://translate.
83
 
84
  == Changelog ==
85
 
 
 
 
 
 
86
  = 2.5.10 =
87
 
88
  * Bug fix: allow parsing of non-English strings through strtotime()
4
  Tags: calendar, dates, times, event, events, scheduling, schedule, event manager, event calendar, class, concert, venue, location, box office, tickets, registration
5
  Requires at least: 4.4
6
  Tested up to: 4.7
7
+ Stable tag: 2.5.10
8
  Text domain: my-calendar
9
  License: GPLv2 or later
10
 
83
 
84
  == Changelog ==
85
 
86
+ = 2.5.11 =
87
+
88
+ * Bug fix: Bottom mass action buttons outside of form
89
+ * Bug fix: User select form used 'checked' instead of 'selected'
90
+
91
  = 2.5.10 =
92
 
93
  * Bug fix: allow parsing of non-English strings through strtotime()