WordPress.org

Making WordPress.org

Opened 6 years ago

Closed 5 years ago

#449 closed enhancement (fixed)

Deprecated and pluggable functions should be flagged

Reported by: siobhan Owned by: nicole@…
Milestone: Priority: high
Component: Developer Hub Keywords: has-patch
Cc:

Description (last modified by siobhan)

Currently it's not obvious which functions are deprecated.

A ticket has been opened for the parser: https://github.com/rmccue/WP-Parser/issues/11

Once the information is being properly parsed, these should be flagged on the function page, per the mockup:

https://s3.amazonaws.com/f.cl.ly/items/0d3L443L1c0E071W1v20/CodeRef-FunctionRef-Deprecated.png

Pluggable functions could have the same flag but in blue.

Attachments (1)

deprecated.diff (2.8 KB) - added by nicole@… 5 years ago.
deprecated notice

Download all attachments as: .zip

Change History (7)

#1 @siobhan
6 years ago

  • Description modified (diff)
  • Owner set to DrewAPicture
  • Status changed from new to assigned

#2 @siobhan
5 years ago

  • Owner changed from DrewAPicture to nicole@…

#3 @siobhan
5 years ago

  • Description modified (diff)
  • Summary changed from Deprecated functions should be flagged to Deprecated and pluggable functions should be flagged

#4 @nicole@…
5 years ago

deprecated flag is being parsed. I will implement on in the theme for review.

@nicole@…
5 years ago

deprecated notice

#5 @nicole@…
5 years ago

  • Keywords has-patch added

Deprecated notice is in patch. Pluggable attribute is not available in parsed data.

#6 @coffee2code
5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 943:

Code Reference: display prominent callout above content to flag deprecated items when applicable

fixes #449.
props nicolealleyinteractivecom.

Note: See TracTickets for help on using tickets.