Problems in v1.2.5
-
Hi Evan,
Several problems that started with 1.2.5 (not a problem in 1.2.4 when I roll back plugin). This is on a staging site on my local computer.
——————————-
(1)
On FIRST post (ONLY) of timeline, I get an error and the excerpt doesn’t display AND the “Read More” url goes back to the page on which the shortcode is inserted. The error I get:( ! ) Warning: date() expects parameter 2 to be long, string given in C:\Users\Ron\Documents\Websites\www.xxxxxxxxxx.dev\GWFA-EW\wp-includes\functions.php on line 112 Call Stack # Time Memory Function Location 1 0.0051 177216 {main}( ) ..\index.php:0 2 0.0054 179304 require( ‘C:\Users\Ron\Documents\Websites\www.xxxxxxxxxx.dev\GWFA-EW\wp-blog-header.php’ ) ..\index.php:17 3 0.8997 26847320 require_once( ‘C:\Users\Ron\Documents\Websites\www.xxxxxxxxxx.dev\GWFA-EW\wp-includes\template-loader.php’ ) ..\wp-blog-header.php:19 4 0.9079 27151592 include( ‘C:\Users\Ron\Documents\Websites\www.xxxxxxxxxx.dev\GWFA-EW\wp-content\themes\jumpstart\template_builder.php’ ) ..\template-loader.php:75 5 1.4112 28801200 […]
——————————-
(2)
On subsequent posts of the timeline, the “Read More” link goes to the correct post page, but the post does not display.——————————-
I am using your “timeline-express-container.php” file in a timeline-express folder in my child theme (with two customizations, one adding a class so I can customize CSS of the fly-in post box, the other adding the permalink to the title of the post). Using just your unadulterated “timeline-express-container.php” file (1.2.5) in my child theme does NOT fix this problem.
I am NOT using a “single.timeline-express.php” file in my my child theme.
I also was using the following custom code in functions.php of my child theme, but removing it does not affect anything either:
// CHANGE SLUG function gwfa_change_timeline_express_slug_fn ( $slug ) { $slug = 'animation-timeline'; // slug for timeline return $slug; } add_filter('timeline-express-slug', 'gwfa_change_timeline_express_slug_fn' ); // alter 'Read more' to say 'More ->' function gwfa_change_timeline_express_readmore_text_fn ( $translated_text, $untranslated_text, $domain ) { switch( $untranslated_text ) { case 'Read more': $translated_text = __( ' More ☛','timeline-express' ); // break; } return $translated_text; } add_filter('gettext', 'gwfa_change_timeline_express_readmore_text_fn', 20, 3); // add a custom class to the timeline express readmore link function gwfa_add_timeline_express_custom_readmore_class_fn ( $button_classes ) { return $button_classes . 'gwfa_timeline_express_readmore_btn'; } add_filter( 'timeline-express-read-more-class' , 'gwfa_add_timeline_express_custom_readmore_class_fn' );
——————————-
Everything worked in 1.2.4 great (even excerpt problem I reported in 1.2.1) , but this is now broken in 1.2.5.
Thanks,
Ron
- The topic ‘Problems in v1.2.5’ is closed to new replies.