[wp-trac] [WordPress Trac] #46997: Theme update links show in Customizer and don't work
WordPress Trac
noreply at wordpress.org
Fri Apr 19 19:43:07 UTC 2019
#46997: Theme update links show in Customizer and don't work
--------------------------+---------------------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2.1
Component: Customize | Version:
Severity: normal | Keywords: has-patch has-screenshots
Focuses: multisite |
--------------------------+---------------------------------------
When using the Customizer on a multisite install and browsing themes, a
link to update shows but produces a JavaScript error when clicked.
`TypeError: wp.updates is undefined`
Installing themes for multisite was officially disabled in [38887]. An
update notice shows on the Theme Details view but the link is omitted. The
same approach should be used here.
Looks like the thumbnail preview
[https://core.trac.wordpress.org/browser/tags/5.1.1/src/wp-
includes/customize/class-wp-customize-theme-control.php#L92 checks that
there is an update, but not for the presence of update information], so
the link always shows.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46997>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list