Locations 插件 🌍

今天在更新 Discourse 后,这个很棒的插件显示了一些弃用信息,其中一条也在管理员页面的顶部:

[管理员提示] 插件 ‘discourse-locations’ 包含需要更新的代码。(ID:discourse.jquery-autocomplete) (了解更多)

其他信息在浏览器的开发者控制台中:

DEPRECATION: [PLUGIN discourse-locations] 在 discourse/plugins/discourse-locations/discourse/templates/connectors/user-card-location-and-website/replace-location.hbs 模板中使用了 user 属性路径,但未使用 this。这种回退行为已被弃用,在模板中使用所有属性时必须通过 this 查找:{{this.user}} [deprecation id: ember-this-fallback.this-property-fallback] 这将在 ember-this-fallback n/a 中移除。有关更多详细信息,请参阅 Resolving the `this-property-fallback` deprecation

DEPRECATION: [PLUGIN discourse-locations] 在 discourse/plugins/discourse-locations/discourse/templates/connectors/user-card-location-and-website/replace-location.hbs 模板中使用了 showUserLocation 属性路径,但未使用 this。这种回退行为已被弃用,在模板中使用所有属性时必须通过 this 查找:{{this.showUserLocation}} [deprecation id: ember-this-fallback.this-property-fallback] 这将在 ember-this-fallback n/a 中移除。有关更多详细信息,请参阅 Resolving the `this-property-fallback` deprecation

DEPRECATION: [PLUGIN discourse-locations] 在 discourse/plugins/discourse-locations/discourse/templates/connectors/user-card-location-and-website/replace-location.hbs 模板中使用了 linkWebsite 属性路径,但未使用 this。这种回退行为已被弃用,在模板中使用所有属性时必须通过 this 查找:{{this.linkWebsite}} [deprecation id: ember-this-fallback.this-property-fallback] 这将在 ember-this-fallback n/a 中移除。有关更多详细信息,请参阅 Resolving the `this-property-fallback` deprecation

DEPRECATION: [PLUGIN discourse-locations] 在 discourse/plugins/discourse-locations/discourse/templates/connectors/user-card-location-and-website/replace-location.hbs 模板中使用了 removeNoFollow 属性路径,但未使用 this。这种回退行为已被弃用,在模板中使用所有属性时必须通过 this 查找:{{this.removeNoFollow}} [deprecation id: ember-this-fallback.this-property-fallback] 这将在 ember-this-fallback n/a 中移除。有关更多详细信息,请参阅 Resolving the `this-property-fallback` deprecation

2 个赞