Timeline Express - Version 1.1.7.2

Version Description

  • July 14th, 2015 =
  • Repair date picker field not being initialized properly
Download this release

Release Info

Developer eherman24
Plugin Icon 128x128 Timeline Express
Version 1.1.7.2
Comparing to
See all releases

Code changes from version 1.1.7.1 to 1.1.7.2

README.md CHANGED
@@ -1,4 +1,4 @@
1
- Timeline Express v1.1.7.1
2
  ================
3
 
4
  Timeline express allows you to create a vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
@@ -290,6 +290,9 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
290
 
291
  ### Changelog
292
 
 
 
 
293
  ###### 1.1.7.1 - July 11th, 2015
294
  * Update to CMB2
295
  * Fix default settings on fresh install
1
+ Timeline Express v1.1.7.2
2
  ================
3
 
4
  Timeline express allows you to create a vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
290
 
291
  ### Changelog
292
 
293
+ ###### 1.1.7.2 - July 14th, 2015
294
+ * Repair date picker field not being initialized properly
295
+
296
  ###### 1.1.7.1 - July 11th, 2015
297
  * Update to CMB2
298
  * Fix default settings on fresh install
classes/class.timeline-express.php CHANGED
@@ -181,7 +181,7 @@ if(!class_exists("timelineExpressBase"))
181
  * render our custom date time stamp field (allows for a default to be set)
182
  * since @v1.1.5
183
  */
184
- function cmb2_render_te_date_time_stamp_custom( $field, $meta ) {
185
  ?>
186
  <style>
187
  #ui-datepicker-div { z-index: 99999 !important; }
@@ -190,10 +190,10 @@ if(!class_exists("timelineExpressBase"))
190
  </style>
191
  <?php
192
  if( $meta && isset( $meta ) ){
193
- echo '<input class="cmb_text_small cmb_datepicker" type="text" name="', $field->args['id'], '" id="', $field->args['id'], '" value="', '' !== $meta ? date( 'm/d/Y' , $meta ) : $field->args['default'], '" />';
194
  echo '<p class="cmb_metabox_description">'.$field->args['desc'].'</p>';
195
  } else{
196
- echo '<input class="cmb_text_small cmb_datepicker" type="text" name="', $field->args['id'], '" id="', $field->args['id'], '" value="' . date('m/d/Y' ) .'" />';
197
  echo '<p class="cmb_metabox_description">'.$field->args['desc'].'</p>';
198
  }
199
  }
@@ -553,6 +553,15 @@ if(!class_exists("timelineExpressBase"))
553
  'default' => strtotime( date( 'm/d/Y' ) ),
554
  ) );
555
 
 
 
 
 
 
 
 
 
 
556
  // Email text field
557
  $announcement_metabox->add_field( array(
558
  'name' => __( 'Announcement Image', 'timeline-express' ),
181
  * render our custom date time stamp field (allows for a default to be set)
182
  * since @v1.1.5
183
  */
184
+ function cmb2_render_te_date_time_stamp_custom( $field, $meta, $object_id, $object_type, $field_type_object ) {
185
  ?>
186
  <style>
187
  #ui-datepicker-div { z-index: 99999 !important; }
190
  </style>
191
  <?php
192
  if( $meta && isset( $meta ) ){
193
+ echo '<input class="cmb2-text-small cmb2-datepicker" type="text" name="', $field->args['id'], '" id="', $field->args['id'], '" value="', '' !== $meta ? date( 'm/d/Y' , $meta ) : $field->args['default'], '" />';
194
  echo '<p class="cmb_metabox_description">'.$field->args['desc'].'</p>';
195
  } else{
196
+ echo '<input class="cmb2-text-small cmb2-datepicker" type="text" name="', $field->args['id'], '" id="', $field->args['id'], '" value="' . date('m/d/Y' ) .'" />';
197
  echo '<p class="cmb_metabox_description">'.$field->args['desc'].'</p>';
198
  }
199
  }
553
  'default' => strtotime( date( 'm/d/Y' ) ),
554
  ) );
555
 
556
+ // Email text field
557
+ $announcement_metabox->add_field( array(
558
+ 'name' => __( 'Announcement Date', 'timeline-express' ),
559
+ 'desc' => __( 'enter the date of the announcement. the announcements will appear in chronological order according to this date. ', 'timeline-express' ),
560
+ 'id' => $prefix . 'dat2e',
561
+ 'type' => 'text_date',
562
+ 'default' => strtotime( date( 'm/d/Y' ) ),
563
+ ) );
564
+
565
  // Email text field
566
  $announcement_metabox->add_field( array(
567
  'name' => __( 'Announcement Image', 'timeline-express' ),
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20
4
  Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
5
  Requires at least: 3.9
6
  Tested up to: 4.2.2
7
- Stable tag: 1.1.7.1
8
  License: GPLv2 or later
9
 
10
  Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
@@ -339,6 +339,9 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
339
 
340
  == Changelog ==
341
 
 
 
 
342
  = 1.1.7.1 - July 11th, 2015 =
343
  * Update to CMB2
344
  * Fix default settings on fresh install
@@ -503,7 +506,4 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
503
 
504
  == Upgrade Notice ==
505
 
506
- * Update to CMB2
507
- * Fix default settings on fresh install
508
- * Removed max length on the announcement excerpts
509
- * Fix translation strings, foreign languages should be updated when/where possible
4
  Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
5
  Requires at least: 3.9
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.1.7.2
8
  License: GPLv2 or later
9
 
10
  Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
339
 
340
  == Changelog ==
341
 
342
+ = 1.1.7.2 - July 14th, 2015 =
343
+ * Repair date picker field not being initialized properly
344
+
345
  = 1.1.7.1 - July 11th, 2015 =
346
  * Update to CMB2
347
  * Fix default settings on fresh install
506
 
507
  == Upgrade Notice ==
508
 
509
+ * Repair date picker field not being initialized properly
 
 
 
timeline-express.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Timeline Express
5
  Plugin URI: http://www.evan-herman.com
6
  Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
7
- Version: 1.1.7.1
8
  Author: Evan Herman
9
  Author URI: http://www.evan-herman.com
10
  License: GPL2
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  #_________________________________________________ CONSTANTS
29
 
30
  /** Configuration **/
31
- if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.7.1');
32
  if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
33
  if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
34
  if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));
4
  Plugin Name: Timeline Express
5
  Plugin URI: http://www.evan-herman.com
6
  Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
7
+ Version: 1.1.7.2
8
  Author: Evan Herman
9
  Author URI: http://www.evan-herman.com
10
  License: GPL2
28
  #_________________________________________________ CONSTANTS
29
 
30
  /** Configuration **/
31
+ if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.7.2');
32
  if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
33
  if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
34
  if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));