[wp-trac] [WordPress Trac] #44708: Coding consistency, seeing both $request and $request_data

WordPress Trac noreply at wordpress.org
Tue Jan 15 22:34:44 UTC 2019


#44708: Coding consistency, seeing both $request and $request_data
--------------------------------------+----------------------
 Reporter:  garrett-eclipse           |       Owner:  desrosj
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.1
Component:  Privacy                   |     Version:  4.9.6
 Severity:  minor                     |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44606" 44606]:
 {{{
 #!CommitTicketReference repository="" revision="44606"
 Privacy: Use consistent variable naming when working with privacy
 requests.

 Throughout the core privacy functions, `WP_User_Request` instances were
 stored in variables named both `$request`, and `$request_data`. This
 changes all occurrences of `$request_data` to `$request` for better
 consistency.

 Props nateallen, bruceallen, garrett-eclipse.
 Fixes #44708.
 }}}

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


More information about the wp-trac mailing list