Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 7 years ago

#4109 closed task (blessed) (fixed)

wp_add_post_tags()

Reported by: rob1n's profile rob1n Owned by: rob1n's profile rob1n
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

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

Attachments (1)

4109.diff (2.0 KB) - added by rob1n 18 years ago.

Download all attachments as: .zip

Change History (6)

#1 @rob1n
18 years ago

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

#2 @ryan
18 years ago

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

#3 @rob1n
18 years ago

Alright.

@rob1n
18 years ago

#4 @rob1n
18 years ago

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

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

This ticket was mentioned in Slack in #core-editor by atimmer. View the logs.


7 years ago

Note: See TracTickets for help on using tickets.