Zero Dates and MySQL 8
-
Hi,
I get “Incorrect DATETIME value: ‘0000%” if I open the calender. In
wordpress/wp-content/plugins/editorial-calendar/edcal.php/* * We add a WHERE clause to filter by calendar date and/or by whether * or not the posts have been scheduled to a specific date: * WHERE <code>post_date_gmt</code> = '0000-00-00 00:00:00' */ add_filter( 'posts_where', array(&$this, 'edcal_filter_where' )); $myposts = query_posts($args); remove_filter( 'posts_where', array(&$this, 'edcal_filter_where' ));
seems to be wrong. Zero dates are not allowed in MySQL 8 by default.
Best regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Zero Dates and MySQL 8’ is closed to new replies.