[wp-trac] [WordPress Trac] #41958: Add Side Meta Box Reset Post Data

WordPress Trac noreply at wordpress.org
Fri Sep 22 17:42:21 UTC 2017


#41958: Add Side Meta Box Reset Post Data
-------------------------------+-----------------------------
 Reporter:  wilhud             |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.8.2
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41958>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list