Make WordPress Core

Opened 9 years ago

Closed 5 years ago

#41504 closed defect (bug) (fixed)

Document global variables in dropdown_categories() and dropdown_link_categories()

Reported by: umangvaghela123 Owned by: SergeyBiryukov
Priority: low Milestone: 5.7
Component: Taxonomy Version:
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

In dropdown_categories() and dropdown_link_categories() function define global $post_ID and $link_id respectivly but it is not mentioned in comment.

Attachments (1)

41504.patch (640 bytes ) - added by umangvaghela123 9 years ago.
fix #41504 bug.

Download all attachments as: .zip

Change History (5)

@umangvaghela123
9 years ago

fix #41504 bug.

#1 @umangvaghela123
9 years ago

  • Keywords has-patch added

#2 @swissspidy
9 years ago

  • Component GeneralTaxonomy
  • Focuses docs added
  • Priority normallow
  • Summary Need document improvement.Document global variables in dropdown_categories() and dropdown_link_categories()

Not really sure it's worth adding these to deprecated functions…

Ps. Please try to write titles that better summarize what the ticket is about, it helps us a lot.

#3 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review5.7
  • Owner set to SergeyBiryukov
  • Status newreviewing

#4 @SergeyBiryukov
5 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 50008:

Docs: Document globals in dropdown_categories() and dropdown_link_categories().

Props umangvaghela123, pawki07.
Fixes #41504.

Note: See TracTickets for help on using tickets.