Skip to content

Commit d9f425f

Browse files
committed
Remove Date Requirement from Form
- this is blind update, haven't booted up local yet - will test later and if this is in the merge request, then I guess it worked
1 parent ade033a commit d9f425f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

quick-weblog.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ function quick_weblog_form()
112112
</div>
113113

114114
<div>
115-
<label for="post_date"><?php _e('Post Date', 'quick-weblog'); ?></label>
116-
<?php $default_date = date('Y-m-d\TH:i'); ?>
117-
<input type="datetime-local" name="post_date" id="quick-weblog-post_date" required value="<?php echo $default_date; ?>">
115+
<label for="post_date"><?php _e('Post Date', 'quick-weblog'); ?> (Optional)</label>
116+
<input type="datetime-local" name="post_date" id="quick-weblog-post_date">
118117
</div>
119118

120119
<div>

0 commit comments

Comments
 (0)