[wp-trac] [WordPress Trac] #51746: Add a core wrapper function to retrieve $wp->request

WordPress Trac noreply at wordpress.org
Tue Jan 26 06:15:53 UTC 2021


#51746: Add a core wrapper function to retrieve $wp->request
-------------------------------+------------------------------
 Reporter:  apedog             |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by peterwilsoncc):

 * keywords:   => reporter-feedback


Comment:

 This was discussed in a triage session today. While the function you
 describe is simple enough it is a property mostly intended to be used
 internally by WordPress for the most part.

 Are you able to provide a little more about the use cases in which you
 find yourself needing to get the `$wp->request` property? That will help
 decided whether or not the function and subsequent maintenance is
 necessary.

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


More information about the wp-trac mailing list