Support

Account

Home Forums Backend Issues (wp-admin) Custom fields get emptied when publishing Reply To: Custom fields get emptied when publishing

  • I believe this is the same problem as the one I reported in the old support forum.

    As i mentioned, when I publish the post

    A) update_value() receives the value,

    B) data is stored in “prefix”_postmeta table:

    select * from dev_postmeta where meta_key = 'dato' ORDER BY meta_id DESC LIMIT 1;

    returns the correct value in meta_value (‘dato’ is the field name)

    select * from dev_postmeta where meta_key = '_dato' ORDER BY meta_id DESC LIMIT 1;

    returns the correct field_”number” in meta_value

    C) create_field() creates an empty field on reload after the publish post