Support » Plugin: List Authors » [Plugin: List Authors] Does not exclude administrator

  • Very useful — but enabling ‘Exclude administrator’ does not exclude the administrator! Probably because the administrator does not have the username ‘admin’.

    Line 165:
    $author_where .= ( $author_where ? ‘ AND ‘ : ” ) . “$wpdb->users.user_login <> ‘admin'”;

    This plugin would be more useful if the administrator we defined by role rather than login name.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: List Authors] Does not exclude administrator’ is closed to new replies.