Make WordPress Core

Opened 8 years ago

Closed 4 years ago

#41504 closed defect (bug) (fixed)

Document global variables in dropdown_categories() and dropdown_link_categories()

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

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 8 years ago.
fix #41504 bug.

Download all attachments as: .zip

Change History (5)

@umangvaghela123
8 years ago

fix #41504 bug.

#1 @umangvaghela123
8 years ago

  • Keywords has-patch added

#2 @swissspidy
8 years ago

  • Component changed from General to Taxonomy
  • Focuses docs added
  • Priority changed from normal to low
  • Summary changed from Need document improvement. to 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
4 years ago

  • Milestone changed from Awaiting Review to 5.7
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#4 @SergeyBiryukov
4 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

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.