[wp-trac] [WordPress Trac] #60026: Strange behavior WordPress in multisite environment wicustomizer

WordPress Trac noreply at wordpress.org
Thu Dec 7 08:34:37 UTC 2023


#60026: Strange behavior WordPress in multisite environment wicustomizer
----------------------------------+-----------------------------
 Reporter:  fkfaisalkhan007       |      Owner:  (none)
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  General               |    Version:  6.4.2
 Severity:  normal                |   Keywords:
  Focuses:  docs, administration  |
----------------------------------+-----------------------------
 I am stuck with implementing customization abilities to the WordPress
 login page as it is a part of my plugin.
 I managed to make it work on a single site, and all things are flawlessly
 functional. but with multisite, I am stuck with two things.

 If you open this URL on a single site or a multisite,
 http://localhost/wptest2/wp-
 admin/customize.php?url=http://localhost/wptest2/wp-login.php

 The first problem arises:

 Single Site: The customizer will load the login page of your site in the
 customizer iframe.
 But on multisite, load the dashboard of the current site.

 The second problem is:
 *On a single site, it works. if you try to change any customizer settings
 and press publish.
 *But on Multisite, when you publish any change, it says, "You need a
 higher level of permission."
 Note: With Customizer, if there is no URL redirection
 (http://localhost/wptest2/wp-admin/customize.php), I am able to publish
 any change without any problem on any site.

 Any help?

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


More information about the wp-trac mailing list