Changeset 51363 for branches/5.8/src/wp-includes/blocks/post-terms.php
- Timestamp:
- 07/07/2021 12:04:53 AM (4 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/blocks/post-terms.php
r50929 r51363 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.