Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#15472 closed defect (bug) (fixed)

wp_delete_object_term_relationships inline docs are incorrect

Reported by: simonwheatley's profile simonwheatley Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.1
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description

The inline docs for wp_delete_object_term_relationships refer to unlinking a term from the taxonomy, whereas the function actually removes all links between an object and any terms in specified taxonomy or taxonomies.

Note, no code changes! Just comment docs!

Attachments (1)

inline doc correction.diff (744 bytes) - added by simonwheatley 13 years ago.
Corrects the inline comment docs

Download all attachments as: .zip

Change History (3)

@simonwheatley
13 years ago

Corrects the inline comment docs

#1 @scribu
13 years ago

  • Component changed from Comments to Inline Docs
  • Milestone changed from Awaiting Review to 3.1

Always felt there was something fishy going on there.

#2 @scribu
13 years ago

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

(In [16466]) Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472

Note: See TracTickets for help on using tickets.