[wp-trac] [WordPress Trac] #65241: get_editable_roles() returns empty array in multisite
WordPress Trac
noreply at wordpress.org
Thu May 28 08:43:20 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):
@mehul0810 i am sorry but i still disagree.
this article: (https://developer.wordpress.org/advanced-
administration/upgrade/migrating/#altering-table-prefixs) you are refering
to, is about the user meta data in the wordpress meta table. We are not
talking about the user meta here.
We are talking about a option in the options table that is the only option
ever that uses the database prefix (and multisite_id) in a table that is
already using the prefix (and in case of a multisite also the
multisite_id) in the tables name.
The adding of the prefix and multisite id to that option is completely
useless and illogical. They both should never have been added to that
option in the first place in which case the transfer tool, or what ever
tool you use the change a prefix, would never caused any issues.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65241#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list