[wp-trac] [WordPress Trac] #44000: Add notification bubble to Tools menu for GDPR export/erase requests
WordPress Trac
noreply at wordpress.org
Thu May 10 15:44:14 UTC 2018
#44000: Add notification bubble to Tools menu for GDPR export/erase requests
----------------------------+------------------------------
Reporter: scott.deluzio | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch gdpr | Focuses:
----------------------------+------------------------------
Comment (by birgire):
[attachment:44000.3.diff] takes a similar approach as #43954
(43954.2.diff) and adds the ''Tools'' bubble directly into the {{{wp-
admin/menu.php}}} file, instead of using a filter. It also re-uses the
{{{.plugin-count}}} and {{{.plugin-updates}}} CSS classes as well.
I think we can't add the submenus directly to the {{{wp-admin/menu.php}}}
file as well, because we don't have specific submenu files, to use the in
the {{{$submenu['tools.php']}}} array. So we could look further into
what's the best way to add bubbles to the submenus here.
ps: We array cast the counting object, in [attachment:44000.2.diff] and
[attachment:44000.3.diff], since it seems problematic to do {{{$obj
->request-confirmed}}} with a dash in the property name.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44000#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list