diff --git a/includes/CMB2/includes/types/CMB2_Type_Text_Date.php b/includes/CMB2/includes/types/CMB2_Type_Text_Date.php index cfd95f7..fb4697a 100755 --- a/includes/CMB2/includes/types/CMB2_Type_Text_Date.php +++ b/includes/CMB2/includes/types/CMB2_Type_Text_Date.php @@ -20,7 +20,6 @@ public function render() { 'value' => isset( $_GET['post'] ) ? ( get_post_meta( $_GET['post'], 'sermon_date_auto', true ) ? '' : $this->field->get_timestamp_format() ) : '', 'desc' => $this->_desc(), 'js_dependencies' => array( 'jquery-ui-core', 'jquery-ui-datepicker' ), - 'placeholder' => isset( $_GET['post'] ) ? ( get_post_meta( $_GET['post'], 'sermon_date_auto', true ) ? $this->field->get_timestamp_format() : '' ) : $this->field->get_timestamp_format( 'date_format', time() ), ) ); if ( false === strpos( $args['class'], 'timepicker' ) ) { diff --git a/readme.txt b/readme.txt index 17b976f..3ff4a0e 100755 --- a/readme.txt +++ b/readme.txt @@ -97,6 +97,7 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man * Fix a PHP notice on new sermon creation * Fix sermon date not saving on first save * Fix sermons preached before 09/09/2001 not showing up +* Fix confusion regarding date field (remove placeholder value) ### 2.8 ### * Add better support for templating plugins (Elementor and Visual Composer, to mention some)