Skip to content

BUG: Nonce fails when saving a Custom Search Result #4205

@burhandodhy

Description

@burhandodhy

Describe the bug

When saving a Custom Search Result while the result preview is still in the "loading" state, the save request fails because the nonce validation fails. This happens because the search-ordering-nonce value is not included in the POST request.

Image

Steps to Reproduce

  1. Create a new Custom Search Result.
  2. Enter or change the search term.
  3. While the preview is still loading results, click the Update button.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress and ElasticPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions