[wp-trac] [WordPress Trac] #19122: Always show "My Sites", sometimes hide "Site Name" menu
WordPress Trac
wp-trac at lists.automattic.com
Sat Nov 5 13:11:57 UTC 2011
#19122: Always show "My Sites", sometimes hide "Site Name" menu
-----------------------------------------------+------------------
Reporter: duck_ | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: General | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion ux-feedback |
-----------------------------------------------+------------------
Comment (by duck_):
Following Jane's comment.
[attachment:19122.3.diff] refreshes the original patch with the following
changes:
* Use API, is_user_member_of_blog(), rather than plain
array_key_exists(). See #19160 for why $blog_id has to be specified in the
patch.
* Don't show My Sites when the user has 0 sites and isn't a super admin.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19122#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list