[wp-trac] [WordPress Trac] #52942: Multisite setup problem with Requests_IDNAEncoder
WordPress Trac
noreply at wordpress.org
Tue Mar 30 15:27:45 UTC 2021
#52942: Multisite setup problem with Requests_IDNAEncoder
---------------------------------------+-----------------------------
Reporter: edemir206 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.7
Severity: normal | Keywords:
Focuses: administration, multisite |
---------------------------------------+-----------------------------
Hello everyone,
I'm facing a issue regarding WordPress admin URL generation. I don't know
if it's a bug but this problem is affecting one of the plugins
(Elementor) we use in our multisite network setup with nested urls.
By nested urls I mean our structure is like this:
example.com/my-site
example.com/my-site/my-sub-site
example.com/my-site/my-sub-site/another-sub-site
I found that Elementor is using the below WordPress method to generate the
admin url when loading the Editor:
{{{
Requests_IDNAEncoder::encode( get_admin_url() );
}}}
The problem happens when the "get_admin_url()" address is larger than 64
chars, we are presented with an error 500 loading Elementor editor, the
error presented is "Provided string is too long".
This issue is causing a lot of headaches in the university I work for,
because we have a lot of sub sites using Elementor and people are not able
to edit those pages.
I already opened a ticket on Elementor as you can check
here[https://github.com/elementor/elementor/issues/13789], but assuming
this is a core WordPress method I think it would be good to ask for some
help here too.
Glad for any help.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52942>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list