WordPress.org

Making WordPress.org

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#1926 closed enhancement (fixed)

Show deprecated version in the changelog table

Reported by: DrewAPicture Owned by: coffee2code
Milestone: Priority: normal
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 7 months ago.
1926_before.png (20.5 KB) - added by DrewAPicture 7 months ago.
1926_after.png (30.0 KB) - added by DrewAPicture 7 months ago.
w/ 1926.diff

Download all attachments as: .zip

Change History (6)

@DrewAPicture
7 months ago

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

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to 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.


7 months ago

Note: See TracTickets for help on using tickets.