[wp-trac] [WordPress Trac] #18408: Can't wp_reset_postdata after custom WP_Query in an admin edit page

WordPress Trac noreply at wordpress.org
Sat Jan 3 19:26:49 UTC 2015


#18408: Can't wp_reset_postdata after custom WP_Query in an admin edit page
-------------------------------------------------+-------------------------
 Reporter:  ericlewis                            |       Owner:  ericlewis
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Query                                |  Review
 Severity:  normal                               |     Version:  3.8.1
 Keywords:  has-patch needs-testing dev-         |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 Is this still an issue? I can't figure out how to reproduce it. When
 registering a metabox containing a `WP_Query` using the code provided by
 ericlewis, the edit post form on post.php is filling in the data from the
 expected post. Maybe I'm doing it wrong?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18408#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list