[wp-trac] [WordPress Trac] #44034: Privacy: Introduce a function to count user requests by type

WordPress Trac noreply at wordpress.org
Thu May 10 11:23:05 UTC 2018


#44034: Privacy: Introduce a function to count user requests by type
----------------------------------------+------------------------------
 Reporter:  birgire                     |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  General                     |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  2nd-opinion gdpr has-patch  |     Focuses:  administration
----------------------------------------+------------------------------
Changes (by birgire):

 * keywords:  2nd-opinion gdpr => 2nd-opinion gdpr has-patch


Comment:

 [attachment:44034.diff] is a an example that takes
 {{{WP_Privacy_Requests_Table::get_request_counts( $type )}}} into a
 reusable {{{wp_count_user_requests( $type )}}} function that's filterable
 with the  {{{wp_count_user_requests}}} filter.

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


More information about the wp-trac mailing list