coyote-team / coyote-wp

Wordpress Plug-in for Coyote
2 stars 2 forks source link

Add Media/Featured Image selector for pages is broken #74

Closed NolanHill closed 3 years ago

NolanHill commented 3 years ago
  1. Created new page
  2. BUG: The Add Media/Featured Image selector interface is broken (can't select a new image, image details do not show up). Browser console shows the following error:
    Uncaught TypeError: data.model.coyoteManagementUrl is not a function
    at eval (eval at v.template (underscore.min.js?ver=1.8.3:2), <anonymous>:77:20)
    at u (underscore.min.js?ver=1.8.3:2)
    at i.template (wp-util.min.js?ver=5.5.3:2)
    at i.render (media-views.min.js?ver=5.5.3:2)
    at wp.Backbone.Subviews.<anonymous> (wp-backbone.min.js?ver=5.5.3:2)
    at underscore.min.js?ver=1.8.3:2
    at Function.v.each.v.forEach (underscore.min.js?ver=1.8.3:2)
    at wp.Backbone.Subviews._attach (wp-backbone.min.js?ver=5.5.3:2)
    at wp.Backbone.Subviews.set (wp-backbone.min.js?ver=5.5.3:2)
    at wp.Backbone.Subviews.add (wp-backbone.min.js?ver=5.5.3:2)
jkva commented 3 years ago

Fixed via https://github.com/coyote-team/coyote-wp/commit/51bf4e07011c1857a09834d4ac118cdc0f39e0fc