[wp-trac] [WordPress Trac] #38370: Customizer: Theme install and preview is still available on a single site in a MS setup and throws JS error when attempting to install

WordPress Trac noreply at wordpress.org
Wed Oct 19 16:49:04 UTC 2016


#38370: Customizer: Theme install and preview is still available on a single site
in a MS setup and throws JS error when attempting to install
-----------------------------------+-----------------------------
 Reporter:  iamfriendly            |      Owner:
     Type:  defect (bug)           |     Status:  new
 Priority:  normal                 |  Milestone:  Awaiting Review
Component:  Customize              |    Version:  trunk
 Severity:  normal                 |   Keywords:
  Focuses:  javascript, multisite  |
-----------------------------------+-----------------------------
 Trunk: 4.7-alpha-38178-src

 Multisite setup, subdirectories.
 nginx version: nginx/1.10.1
 php: PHP 7.0.10

 When attempting to install and preview a theme on a single site on a
 multisite network, a JS error appears in the console

 `customize-controls.js?ver=4.7-alpha-38178-src:2132 Uncaught TypeError:
 Cannot read property 'maybeRequestFilesystemCredentials' of undefined`

 There are 2 issues I think. 1) the obvious JS error and 2) on a multisite
 a theme needs to be installed and activated for a site at a network level,
 not from on a site itself.

 Perhaps in this scenario it's wise to disable this functionality from
 within multisite (or maybe have an option for network administrators to
 allow it, but I'd highly recommend defaulting this to 'off' if this route
 is chosen)

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


More information about the wp-trac mailing list