WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#28538 closed defect (bug) (fixed)

term_exists docs correction

Reported by: simonwheatley Owned by: SergeyBiryukov
Milestone: 4.0 Priority: normal
Severity: minor Version: 3.4
Component: Taxonomy Keywords: has-patch
Focuses: docs Cc:

Description

term_exists returns the term ID and the term taxonomy ID if the taxonomy was passed and exists, not the term ID and the taxonomy.

Attachments (1)

28538.diff (788 bytes) - added by simonwheatley 5 years ago.
Fix the inline docs

Download all attachments as: .zip

Change History (5)

@simonwheatley
5 years ago

Fix the inline docs

#1 @simonwheatley
5 years ago

  • Keywords needs-patch added
  • Severity changed from normal to minor

#2 @simonwheatley
5 years ago

  • Keywords has-patch added; needs-patch removed

#3 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 4.0

Previously: [19600]

#4 @SergeyBiryukov
5 years ago

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

In 28753:

Correct @return value for term_exists().

props simonwheatley.
fixes #28538.

Note: See TracTickets for help on using tickets.