[wp-trac] [WordPress Trac] #19127: Welcome Panel should be displayed for the first administrator
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 3 15:50:59 UTC 2011
#19127: Welcome Panel should be displayed for the first administrator
----------------------------+------------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.3
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Description changed by nacin:
Old description:
> The Welcome Panel should be shown in two situations:
>
> 1. A new install.
>
> 2. A new site in a network, where:
> a. the user hasn't seen it before for another site, and
> b. is not a super admin.
>
> Attached patch implements this as a new usermeta key. It's also possible
> to implement this as a blog option which stores the user ID who needs to
> see it before clearing it, which would keep usermeta bloat down, but we
> wouldn't be able to patch 2a. As it piggybacks on the same usermeta key
> for toggling the panel from Screen Options, the implementation is very
> straightforward.
>
> The code is in wpmu_create_blog() (non-empty blog) and wp_install(). It
> probably makes more sense in wp_install_defaults(). There's a separate
> bug fix here as well (note the $user_id passed to is_super_admin()).
New description:
The Welcome Panel should be shown in two situations:
1. A new install.
2. A new site in a network, where:
a. the user hasn't seen it before for another site, and
b. is not a super admin.
Attached patch implements this as a new usermeta key. It's also possible
to implement this as a blog option which stores the user ID who needs to
see it before clearing it, which would keep usermeta bloat down, but we
wouldn't be able to patch 2a. As it piggybacks on the same usermeta key
for toggling the panel from Screen Options, the implementation is very
straightforward.
The code is in wpmu_create_blog() (non-empty blog) and wp_install(). It
probably makes more sense in wp_install_defaults(). There's a separate bug
fix here as well (note the $user_id passed to is_super_admin()).
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19127#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list