[wp-trac] [WordPress Trac] #45709: Suggestion for User Roles

WordPress Trac noreply at wordpress.org
Wed Dec 19 17:51:47 UTC 2018


#45709: Suggestion for User Roles
-------------------------------------------------+-------------------------
 Reporter:  lotharthesavior                      |      Owner:  (none)
     Type:  enhancement                          |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  Role/Capability                      |    Version:  5.0.1
 Severity:  minor                                |   Keywords:
  Focuses:  administration, multisite, rest-     |
  api, performance                               |
-------------------------------------------------+-------------------------
 Hello,

 User Roles on WordPress works through a serialized object in a record at
 the wp_options table in the database. I understand that this might be
 considered enough. Although, I have a suggestion for improvement:

 I had a problem while working with multisites: I imported one website, and
 it happens that multisites depends on the name of the option at the
 wp_options table. Because I only updated the name of the tables, I
 couldn't see my user roles because that part is in the name of the option.
 After importing/updating it I could see.

 I believe that it would be more maintainable if we had a separate table
 wp_roles instead. I would like to hear some comments on that.If enough
 people agrees or have some positive thoughts on that, I might prototype a
 plugin for the community to try it out.

 Thanks!
 Savio Resende

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45709>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list