[wp-trac] [WordPress Trac] #65241: get_editable_roles() returns empty array in multisite

WordPress Trac noreply at wordpress.org
Thu May 28 13:36:16 UTC 2026


#65241: get_editable_roles() returns empty array in multisite
--------------------------------------------------+---------------------
 Reporter:  neo2k23                               |       Owner:  (none)
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  7.0.1
Component:  General                               |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-opinion  |     Focuses:
--------------------------------------------------+---------------------

Comment (by neo2k23):

 @mindctrl so "It seems like a very small edge case." is your reason for
 not fixing a bug?

 The trunk patch added before did the job perfectly in either case and took
 care of the missed conversion of the variable in the option table.  It was
 a easy patch to apply and was the perfect solution. It topok only care of
 this situation in case the xxxx_xxx_user_roles was not correctly
 converted.

 The fact that one calls it a very small edge case must never be a valid
 reason for not patching a flaw in the system.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65241#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list