[wp-trac] [WordPress Trac] #14696: Personal Dashboard
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 10 14:08:52 UTC 2010
#14696: Personal Dashboard
----------------------------+-----------------------------------------------
Reporter: ryan | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.1
Component: Multisite | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Comment(by nacin):
Replying to [comment:14 ryan]:
> (In [16224]) Issue user_admin_notices for user admin. Issue
admin_notices only for blog admin. Issue all_admin_notices for all
dashboards. see #14696
Thinking we should make admin_notices everywhere, then blog_admin_notices
otherwise. If a plugin wants to spit something out on admin_notices, like
Hello Dolly for example, they need to hook all three. It's kind of weird,
and often they're going to be doing special detection to see if the
current screen is what they want.
This is also consistent with the is_admin() function and its children.
There is probably a use case I am thinking of where the current setup in
[16224] is desirable -- perhaps Akismet's use case? It should be noted
that admin_notices would have shown up on the profile (with the dashboard
blog) and under Super Admin, so there's no regression.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14696#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list