WordPress.org

Make WordPress Core

Changeset 15449


Ignore:
Timestamp:
07/21/10 00:50:01 (5 years ago)
Author:
nacin
Message:

Doc update for [15402]. fixes #14301.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r15405 r15449  
    26142614 * @param string $tags The tags to set for the post, separated by commas. 
    26152615 * @param bool $append If true, don't delete existing tags, just add on. If false, replace the tags with the new tags. 
    2616  * @return bool|null Will return false if $post_id is not an integer or is 0. Will return null otherwise 
     2616 * @return mixed Array of affected term IDs. WP_Error or false on failure. 
    26172617 */ 
    26182618function wp_set_post_tags( $post_id = 0, $tags = '', $append = false ) { 
     
    26292629 * @param string $tags The tags to set for the post, separated by commas. 
    26302630 * @param bool $append If true, don't delete existing tags, just add on. If false, replace the tags with the new tags. 
    2631  * @return bool|null Will return false if $post_id is not an integer or is 0. Will return null otherwise 
     2631 * @return mixed Array of affected term IDs. WP_Error or false on failure. 
    26322632 */ 
    26332633function wp_set_post_terms( $post_id = 0, $tags = '', $taxonomy = 'post_tag', $append = false ) { 
Note: See TracChangeset for help on using the changeset viewer.