WordPress.org

Make WordPress Core

Opened 4 weeks ago

Closed 4 weeks ago

#41958 closed defect (bug) (duplicate)

Add Side Meta Box Reset Post Data

Reported by: wilhud Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

When I setup a meta box located on the side and then run a WP_Query to pull some data for the post Meta Box, I encounter a problem when updating the post. Even though I have called wp_reset_postdata after my WP_Query, it still seems to hold onto that new query when I update the post. The slug suddenly changes to the name of the post in the meta box. However, when I move the meta box to the normal position, the issue does not occur.

Wil

Change History (1)

#1 @ocean90
4 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 4.8.2 deleted

Hello @wilhud, thanks for your report. We are already tracking this issue in #18408.

Note: See TracTickets for help on using tickets.