black friday sale

Custom Fields
Re-Envisioned
Support General Empty date field with save_format causes error

  • Creator
    Topic
  • #13697
    Resolved Ryan Lauritsen
    Participant

    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
    Replies
  • #13704
    Anh Tran
    Keymaster

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

    #13708
    Ryan Lauritsen
    Participant

    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.