Changeset 13217 for trunk/wp-includes/post.php
- Timestamp:
- 02/19/2010 10:26:44 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13209 r13217 2175 2175 // new-style support for all tag-like taxonomies 2176 2176 if ( !empty($tax_input) ) { 2177 foreach ( $tax_input as $taxonomy => $tags ) 2178 wp_set_post_terms( $post_ID, $tags, $taxonomy ); 2177 foreach ( $tax_input as $taxonomy => $tags ) { 2178 $taxonomy_obj = get_taxonomy($taxonomy); 2179 if ( current_user_can($taxonomy_obj->manage_cap) ) 2180 wp_set_post_terms( $post_ID, $tags, $taxonomy ); 2181 } 2179 2182 } 2180 2183
Note: See TracChangeset
for help on using the changeset viewer.