Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1926 closed enhancement (fixed)

Show deprecated version in the changelog table

Reported by: drewapicture's profile DrewAPicture Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords: has-patch has-screenshots


When core elements are deprecated, we rightly notate them as deprecated with a callout box on reference articles. However, we should also be showing their deprecation version in the changelog box.

For instance, deprecated in 4.6.0, wp_get_sites().

Attachments (3)

1926.diff (3.5 KB) - added by DrewAPicture 8 years ago.
1926_before.png (20.5 KB) - added by DrewAPicture 8 years ago.
1926_after.png (30.0 KB) - added by DrewAPicture 8 years ago.
w/ 1926.diff

Download all attachments as: .zip

Change History (6)

8 years ago

#1 @DrewAPicture
8 years ago

  • Keywords has-patch has-screenshots added

Added 1926.diff.

See 1926_before.png for the wp_get_sites() changelog table before, and 1926_after.png with the patch.

#2 @coffee2code
8 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 3840: Show deprecated version in the changelog table.

Also changes get_deprecated() to add optional $formatted argument to indicate if the message should be formatted for display.

Props DrewAPicture.
Fixes #1926.

This ticket was mentioned in Slack in #meta-devhub by drew. View the logs.

8 years ago

Note: See TracTickets for help on using tickets.