Changeset 61281
- Timestamp:
- 11/23/2025 05:37:23 AM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/link-template.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r61066 r61281 1083 1083 $term = get_term( $term, $taxonomy ); 1084 1084 if ( ! $term || is_wp_error( $term ) ) { 1085 return ;1085 return null; 1086 1086 } 1087 1087 … … 1089 1089 $term_id = $term->term_id; 1090 1090 if ( ! $tax || ! current_user_can( 'edit_term', $term_id ) ) { 1091 return ;1091 return null; 1092 1092 } 1093 1093 … … 1411 1411 1412 1412 if ( ! $post ) { 1413 return ;1413 return null; 1414 1414 } 1415 1415 … … 1455 1455 1456 1456 if ( ! $post ) { 1457 return ;1457 return null; 1458 1458 } 1459 1459 … … 1469 1469 1470 1470 if ( ! $post_type_object ) { 1471 return ;1471 return null; 1472 1472 } 1473 1473 1474 1474 if ( ! current_user_can( 'edit_post', $post->ID ) ) { 1475 return ;1475 return null; 1476 1476 } 1477 1477
Note: See TracChangeset
for help on using the changeset viewer.