WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#33749 closed enhancement (fixed)

Update the parameter docs for wp_add_post_tags(), wp_set_post_tags(), and wp_set_post_terms()

Reported by: johnbillion Owned by: SergeyBiryukov
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch commit
Focuses: docs Cc:

Description

These functions all accept an array of terms in addition to a comma separated string, and they all have the same return values.

Attachments (1)

33749.diff (3.4 KB) - added by johnbillion 4 years ago.

Download all attachments as: .zip

Change History (4)

@johnbillion
4 years ago

#1 @johnbillion
4 years ago

  • Keywords has-patch added

33749.diff just needs the nod from someone.

#2 @swissspidy
4 years ago

  • Keywords commit added

Not a docs committer, but the patch looks good to me.

#3 @SergeyBiryukov
4 years ago

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

In 33931:

Update the parameter docs for wp_add_post_tags(), wp_set_post_tags(), and wp_set_post_terms().

Props johnbillion.
Fixes #33749.

Note: See TracTickets for help on using tickets.