WordPress.org

Ready to get started?Download WordPress

Forums

List Authors
Does not exclude administrator (2 posts)

  1. NiceToMeetYou
    Member
    Posted 3 years ago #

    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.

  2. Rene Michaels
    Member
    Posted 3 years ago #

    Same thing here. Works great except for it does display the "admin".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic