Making WordPress.org

Opened 10 years ago

Closed 10 years ago

#1907 closed defect (bug) (fixed)

Don't show 'Uses' or 'Used By' sections if nothing is to be listed

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

Description

There are plenty of instances where a function/method/class/etc doesn't have a relation to list under 'Uses' and/or 'Used By'. In such cases, the 'Uses' and/or 'Used By' section(s) should not be shown.

Also, in the case where all subsection of 'Related' aren't being shown, then the 'Related' section itself shouldn't be shown either.

Attachments (1)

1907.png (15.4 KB) - added by coffee2code 10 years ago.
Screenshot showing empty 'Related' subsections.

Download all attachments as: .zip

Change History (2)

@coffee2code
10 years ago

Screenshot showing empty 'Related' subsections.

#1 @coffee2code
10 years ago

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

In 3811:

developer.wordpress.org: Don't show the 'Related' section, or either the 'Uses' or the 'Used By' subsections, if nothing would be listed.

Fixes #1907.

Note: See TracTickets for help on using tickets.