Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#41473 closed defect (bug) (fixed)

Document use of the $first_dropdown static var in WP_Widget_Categories::widget()

Reported by: ajayghaghretiya1 Owned by: SergeyBiryukov
Priority: normal Milestone: 4.9
Component: Widgets Version:
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

static variable $first_dropdown used in the function but not mention in the documentation of function.

Attachments (1)

41473.patch​ (558 bytes ) - added by ajayghaghretiya1 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
9 years ago

  • Milestone Awaiting Review → 4.9

#2 @SergeyBiryukov
9 years ago

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

In 41181:

Docs: Add a @staticvar entry for $first_dropdown in WP_Widget_Categories::widget().

Props ajayghaghretiya1.
Fixes #41473.

#3 @DrewAPicture
9 years ago

  • Keywords has-patch added
  • Summary Needs documentation improvements → Document use of the $first_dropdown static var in WP_Widget_Categories::widget()

@ajayghaghretiya1 In the future, it would be helpful to provide a more descriptive summary when creating trac tickets. "Needs documentation improvements" is exceptionally vague :-)

I've gone ahead and updated the summary here to demonstrate what you should be aiming for.

Note: See TracTickets for help on using tickets.