std error when a field has no id

Support General std error when a field has no id

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2086
    tandoigaitandoigai
    Participant

    Dear developing team

    I found this issue recently when working with your plugin with some fields without ID.

    Sometimes, we need to add fields without IDs (heading, custom html...) and it's not convenient when having to add an ID for those fields.

    When a field doesn't have an ID, get_post_meta($post->ID, '') returns true then value $save will become true and all $std values not set. Please try it yourself.

    I hope this issue will be sorted in the next release.

    Thank you

    #2091
    Anh TranAnh Tran
    Keymaster

    Thanks, I will look at this issue.

    #2115
    Anh TranAnh Tran
    Keymaster

    Hi again,

    Just looked into the code and tested with fields which don't need id attributes: heading, divider, custom_html and only custom_html uses std to output the HTML content of the field. These fields don't use meta value for anything, thus, the get_post_meta function is not used.

    I don't think there's a bug here, or am I misunderstanding you? Can you give more details on what you're trying to do?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘std error when a field has no id’ is closed to new replies.