Changeset 13289 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 02/22/2010 08:36:32 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/meta-boxes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r13285 r13289 248 248 $tax_name = esc_attr(substr($box['id'], 8)); 249 249 $taxonomy = get_taxonomy($tax_name); 250 if ( !current_user_can($taxonomy-> manage_cap) ) // @todo: Display the terms, do not edit.250 if ( !current_user_can($taxonomy->assign_cap) ) // @todo: Display the terms, do not edit. 251 251 return; 252 252 $helps = isset($taxonomy->helps) ? esc_attr($taxonomy->helps) : __('Separate tags with commas.');
Note: See TracChangeset
for help on using the changeset viewer.