Changes between Initial Version and Version 1 of Ticket #20601, comment 11
- Timestamp:
- 11/17/2013 10:41:16 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20601, comment 11
initial v1 2 2 > It seems straightforward, but it can fail if is_author() is true, but the queried object is something other than an author, which could occur for more complex queries. like tax + author, etc. We'd be querying is_user_member_of_blog() for the wrong ID. 3 3 4 I guess we can use `get_query_var( 'author' )` instead of `get_queried_object_id()`. 4 I guess we can use `get_query_var( 'author' )` instead of `get_queried_object_id()`. Refreshed the patch.