Changeset 48665 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 07/28/2020 03:40:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r48664 r48665 542 542 if ( 'delete_term' === $cap 543 543 && ( get_option( 'default_' . $term->taxonomy ) == $term->term_id 544 || get_option( 'default_t axonomy_' . $term->taxonomy ) == $term->term_id )544 || get_option( 'default_term_' . $term->taxonomy ) == $term->term_id ) 545 545 ) { 546 546 $caps[] = 'do_not_allow';
Note: See TracChangeset
for help on using the changeset viewer.