WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#11798 closed enhancement (duplicate)

Deprecated functions not marked as deprecated

Reported by: sirzooro Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: needs-patch
Focuses: Cc:

Description

Following function are marked as deprecated in Inline Docs, but do not call _deprecated_function():

wp-admin/includes/template.php:

  • dropdown_categories()
  • dropdown_link_categories()

wp-includes/bookmark.php:

  • get_link()

wp-includes/formatting.php:

  • sanitize_url()
  • js_escape()
  • wp_specialchars()
  • attribute_escape()

wp-includes/pluggable.php:

  • wp_login() (also has deprecated argument)

wp-includes/post-template.php:

  • get_the_attachment_link()
  • get_attachment_icon_src()
  • get_attachment_icon()
  • get_attachment_innerHTML()

Note: these functions do more than simply calling new function - need to check this;

xmlrpc.php:

  • login_pass_ok()

Change History (1)

comment:1 nacin4 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Think I caught all of these in #11388. If not, please comment there and I'll update the patch.

Note: See TracTickets for help on using tickets.