Opened 17 years ago
Closed 15 years ago
#5672 closed defect (bug) (wontfix)
"Page Author" list excludes users with custom roles
Reported by: | sudrien | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.3.2 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Scenario: Created new role with Schneider's plugin, restricting new role to only making & editing pages. However, users in this new role were not on the "Page Author" list, so pages could not be transfered to their ownership.
Causes:
- wp_user_level was not being set in $wpdb->usermeta when these users are created
- get_editable_user_ids looks for the value in #1 when creating the authors list.
changing
$level_key = $wpdb->prefix . 'user_level';
to
$level_key = $wpdb->prefix . 'capabilities';
showed all users, but doesn't respect levels.
Also, this doesn't pay any heed to page vs. post permissions.
Change History (2)
Note: See
TracTickets for help on using
tickets.
has rotten for long enough