Do not use elgg_format_url()

Just a note to plugin devs that you should not use the function elgg_format_url().

Although it does not describe itself as doing "HTML escaping", its behavior might give that impression, so it's being removed in Elgg 3.

It no longer serves any purpose if you're using one of these APIs, as they escape already:

  • The output/url view
  • The menu API
  • elgg_format_element()
  • The output/text view

If you were (incorrectly) using it to escape URLs in raw HTML, update your code to use one of the APIs above.