[wp-trac] [WordPress Trac] #44034: Privacy: Introduce a function to count user requests by type
WordPress Trac
noreply at wordpress.org
Mon Oct 12 21:39:38 UTC 2020
#44034: Privacy: Introduce a function to count user requests by type
-------------------------------------------------+-------------------------
Reporter: birgire | Owner: garrett-
| eclipse
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Privacy | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests needs- | Focuses:
refresh | administration
-------------------------------------------------+-------------------------
Changes (by garrett-eclipse):
* keywords: 2nd-opinion, has-patch, needs-unit-tests => has-patch needs-
unit-tests needs-refresh
* owner: (none) => garrett-eclipse
* status: new => assigned
* milestone: Awaiting Review => Future Release
Comment:
Thanks @birgire sorry for the delayed review, this seems like it would
make a great enhancement. It's a bit late for 5.6 so let's mark for Future
Release.
I have two questions;
1. Why return an object and not an associative array?
2. This is a mostly duplicate of the existing function, could we merge the
code and just expose it in both locations?
Note: once the milestone is finalized we'll at minimum need to refresh the
@since.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44034#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list