WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18408, comment 31


Ignore:
Timestamp:
11/03/2020 05:11:12 PM (11 months ago)
Author:
Howdy_McGee
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18408, comment 31

    initial v1  
    1717}}}
    1818
    19 The above is a simple example but it seems like the `global $wp_query` is kept empty in most if not all admin panel requests. This would then allow the use of secondary WP_Querys and `wp_reset_postdata()`.
     19The above is a simple example but it seems like the `global $wp_query` is kept empty in most if not all admin panel requests. This would then allow the use of secondary WP_Querys and `wp_reset_postdata()`. Any foreseeable issues we could run into doing something like this?