Skip Navigation

[Resuelto] Multiple Roles Per User – Unable to change post author

This support ticket is created hace 3 años, 1 mes. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por chuckH hace 3 años, 1 mes.

Autor
Mensajes
#2190217

I am trying to:
After using the multiple roles per user feature to add additional roles per user, I can only change the post author to myself or other users assigned administrator role.

Link to a page where the issue can be seen:
WP admin post editor

I expected to see:
I expected to be able to see all of the users in the author pick list (as before).

Instead, I got:
Instead, I got only got the ability to the change the post author to myself or other users assigned administrator role.

#2190245

Adding the following function resolved the issue, but is there another way not involving special functions? Thank you.

add_filter('wp_dropdown_users_args', 'assign_any_users_author_box_func', 10, 2);
function assign_any_users_author_box_func($query_args, $r){
$query_arg['who'] = 'any';
return $query_arg;
}

#2190507

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi Chuck

I tested the same, but couldn't reproduce the problem.

With Access enabled I added several additional roles to an author. I then edited a post and that user was available in the author dropdown.

I tried switching things around and making the primary role a minor role (subscriber) and other roles with publishing rights as secondary roles, and it still worked correctly.

Can you try reproducing on a skeletal site with just Toolset plugins active and a default theme?

#2191131

Hi Nigel,
My issue is resolved now. Thank you!