Awesome, I’ll eagerly wait for the update.
Does this function fixes something for me? My ‘temporary’ method is working fine for my needs.
—
About the pagination error, I tried again with the users as editors in a fresh installation of wordpress with just your plugin installed and same problem occurred.
Did you define the role in the shortcode? If you didn’t it’ll work fine.
You said the search by display name was not being restricted to authors, and you were right. The update maintains the shortcode’s defined “role” parameter on search.
Yes the function I posted fixes something for you. The two functions, I’ve posted together implement search by display name, restricted by role (assuming you define role in your shortcode), and without modifying my plugin. Your modification to my plugin actually causes WP_User_Query to be run twice, which isn’t necessary.
RE: pagination, yes i defined the role in my shortcode.
[userlist number="2" role="editor" ]
I understand now, wonderful support thanks!
About the pagination I can’t understand why it’s happening since there’s no logical reason for it to happen.
May it be because I’m testing locally?
If you wish I can send you images of the problem.
MU or Single site? Have you removed your customizations from my plugin? You can screenshot it if you want, but it will still be hard for me to fix until I can reproduce it and right now I can’t. I’m testing locally too.
Single site, every thing is installed without customizations, may it be a server side issue?
Sorry for the late response.
Running any other plugins? I’m really at a loss here.
I tried it with a clean version of wordpress and the problem still exists, I’ve implemented another plugin now that deals with pagination ( Infinite – Scrolling ) and that solves it without changing the core.
Thanks for all the wonderful support.
Sorry I couldn’t solve this one for you. SUL does support WP Pagenavi now, so that might help.