Ticket #4109 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

wp_add_post_tags()

Reported by: rob1n Assigned to: rob1n
Priority: normal Milestone: 2.2
Component: General Version:
Severity: normal Keywords:
Cc:

Description

Add tags to $post_id, instead of replacing them as wp_set_post_tags() does.

Attachments

4109.diff (2.0 kB) - added by rob1n on 04/07/07 18:58:11.

Change History

04/07/07 16:47:40 changed by rob1n

First crack. Seems a little too easy, so I'm not committing it yet. ;)

04/07/07 17:01:56 changed by ryan

Let's allow tags to be passed in as an array. If is_array(), take them as is. Otherwise split on commas.

04/07/07 18:37:08 changed by rob1n

Alright.

04/07/07 18:58:11 changed by rob1n

  • attachment 4109.diff added.

04/07/07 19:00:22 changed by rob1n

  • status changed from new to closed.
  • resolution set to fixed.

(In [5209]) Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109