Make WordPress Core

Changes between Version 5 and Version 6 of Ticket #56483, comment 2


Ignore:
Timestamp:
09/04/2022 07:32:46 AM (3 years ago)
Author:
anna.bansaghi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56483, comment 2

    v5 v6  
    1 Hi, I was able to reproduce the response having `null` with your workflow, but do not know if the cause is the same as in your case. I have misspelled a key which was defined with `pattern` in the input meta. Would you mind sharing your input meta here?
     1Hi, I was able to reproduce the response having `null` with your workflow, but do not know if the cause is the same as in your case. I have misspelled a value which was defined with `pattern` in the input meta. Would you mind sharing your input meta here?
    22
    33
     
    77
    88
    9 So my next try was using `REST API` instead of `add_post_meta()`, and the response immediately was an error message with detailed information about the misspelled key. It was not possible to create an invalid meta at the first place!
     9So my next try was using `REST API` instead of `add_post_meta()`, and the response immediately was an error message with detailed information about the misspelled value. It was not possible to create an invalid meta at the first place!
    1010
    1111As I said before, it is possible that your issue is caused by something else! It would be nice :
    12 - to see your input meta here, so we can rule out the invalid input meta issue, and
     12- to see your input meta here, so we can rule out the invalid meta issue, and
    1313- if you could try to use `REST API` for creating the meta, and see what would be the response to that.