[wp-trac] [WordPress Trac] #19612: Author templates display all users on a multisite network, even if the user is not a member of a specific blog
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 19 18:00:20 UTC 2011
#19612: Author templates display all users on a multisite network, even if the user
is not a member of a specific blog
--------------------------+-----------------------------
Reporter: chellycat | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Keywords:
--------------------------+-----------------------------
When loading an author template, WordPress should check against current
users. If the author isn't valid, load 404 template.
If it's a multisite, WordPress should check the passed author slug against
current users of the blog -- not all registered users of the network.
To replicate the issue, do the following:
1. Create a WordPress multisite environment.
2. Create a test blog and at least two users (User A and User B).
3. Add User A to your test blog.
4. In your browser's URL bar, type http://yourtestblogurl.com/author/userb
5. Observe how user User B's profile information appears on the author
page, even though User B is not a user of that specific blog.
Again, the ideal solution when loading author templates for a multisite
network would be to check to see if a user is a current member of a given
blog (and not the entire network).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19612>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list