Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#34174 closed defect (bug) (fixed)

Documentation for _pad_term_counts is wrong

Reported by: wpsmith Owned by: DrewAPicture
Priority: normal Milestone: 4.4
Component: Taxonomy Version: 2.5
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

Currently, the documentation states that the first parameter is an array of term IDs. However, it should be an array of term objects.

Attachments (1)

34174._pad_term_counts.taxonomy-functions.php.patch (553 bytes ) - added by wpsmith 11 years ago.
corrected docs

Download all attachments as: .zip

Change History (4)

#1 @swissspidy
11 years ago

  • Component GeneralTaxonomy
  • Keywords has-patch added
  • Milestone Awaiting Review4.4
  • Version trunk2.5

Looks like that was introduced in [6254]

#2 @DrewAPicture
11 years ago

  • Owner set to DrewAPicture
  • Status newreviewing

#3 @DrewAPicture
11 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 34884:

Docs: _pad_term_counts() takes an array of objects passed by reference, not term IDs.

Props wpsmith.
Fixes #34174.

Note: See TracTickets for help on using tickets.