Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#41473 closed defect (bug) (fixed)

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

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


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 7 years ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
7 years ago

  • Milestone changed from Awaiting Review to 4.9

#2 @SergeyBiryukov
7 years ago

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

In 41181:

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

Props ajayghaghretiya1.
Fixes #41473.

#3 @DrewAPicture
7 years ago

  • Keywords has-patch added
  • Summary changed from Needs documentation improvements to 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.