Making WordPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1926 closed enhancement (fixed)

Show deprecated version in the changelog table

Reported by: DrewAPicture Owned by: coffee2code
Priority: normal Milestone:
Component: Developer Hub Keywords: has-patch has-screenshots
Cc:

Description

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 10 years ago.
1926_before.png​ (20.5 KB ) - added by DrewAPicture 10 years ago.
1926_after.png​ (30.0 KB ) - added by DrewAPicture 10 years ago.
w/ 1926.diff​

Download all attachments as: .zip

Change History (6)

#1 @DrewAPicture
10 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
10 years ago

  • Owner set to coffee2code
  • Resolution → fixed
  • Status new → closed

In 3840:

developer.wordpress.org: 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.


10 years ago

Note: See TracTickets for help on using tickets.