Changeset 51362 for trunk/src/wp-includes/blocks/post-terms.php
- Timestamp:
- 07/06/2021 11:55:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-terms.php
r50929 r51362 16 16 function render_block_core_post_terms( $attributes, $content, $block ) { 17 17 if ( ! isset( $block->context['postId'] ) || ! isset( $attributes['term'] ) ) { 18 return ''; 19 } 20 21 if ( ! is_taxonomy_viewable( $attributes['term'] ) ) { 18 22 return ''; 19 23 }
Note: See TracChangeset
for help on using the changeset viewer.