# 弃用通知：导入 getURL

**URL:** <https://meta.discourse.org/t/deprecation-notice-import-geturl/157636>\
**Category:** Support\
**Created:** [2020年七月13日 19:31 UTC](https://meta.discourse.org/t/deprecation-notice-import-geturl/157636 "2020-07-13T19:31:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)\
**Post date:** [2020年七月13日 19:31 UTC](https://meta.discourse.org/t/deprecation-notice-import-geturl/157636/1 "2020-07-13T19:31:46Z")

</div>

我目前运行的是 2.6.0.beta1（[f43c0a5d85](https://github.com/discourse/discourse/commits/f43c0a5d857d34168c96a5d59e5481973ddabe25)）

今天在我的浏览器控制台中发现了以下内容：

> `弃用通知：请从 discourse-common/lib/get-url 导入 getURL，而不是 Discourse.getURL（自 Discourse 2.5 起已弃用，将在 Discourse 2.6 中移除）`

有什么需要我担心的吗？🤔

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2020年七月13日 20:14 UTC](https://meta.discourse.org/t/deprecation-notice-import-geturl/157636/2 "2020-07-13T20:14:18Z")

</div>

这是一个开发者警告。我们将在 2.6 版本发布前处理它。

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2020年七月13日 20:14 UTC](https://meta.discourse.org/t/deprecation-notice-import-geturl/157636/3 "2020-07-13T20:14:21Z")

</div>


