black friday sale

Custom Fields
Support General Empty date field with save_format causes error

  • Creator
  • #13697
    Resolved Ryan Lauritsen

    I have a date field type with 'save_format' => 'Y-m-d'.

    When the field is left empty and I save the post, I get a white screen of death. The post is not updated. No errors are reported by WP debugging.

    If I comment out the 'save_format' => 'Y-m-d' line, the post saves correctly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #13704
    Anh Tran

    Hi Ryan, thanks a lot for your feedback. It’s fixed in this commit.

    Ryan Lauritsen

    Great! Thanks for the quick response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.