Changeset 13289 for trunk/wp-includes/post.php
- Timestamp:
- 02/22/2010 08:36:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13284 r13289 2186 2186 foreach ( $tax_input as $taxonomy => $tags ) { 2187 2187 $taxonomy_obj = get_taxonomy($taxonomy); 2188 if ( current_user_can($taxonomy_obj-> manage_cap) )2188 if ( current_user_can($taxonomy_obj->assign_cap) ) 2189 2189 wp_set_post_terms( $post_ID, $tags, $taxonomy ); 2190 2190 }
Note: See TracChangeset
for help on using the changeset viewer.