Changeset 59866 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 02/25/2025 05:10:31 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r59839 r59866 2565 2565 $query['post__in'] = ! empty( $sticky ) ? $sticky : array( 0 ); 2566 2566 $query['ignore_sticky_posts'] = 1; 2567 } else {2567 } elseif ( 'exclude' === $block->context['query']['sticky'] ) { 2568 2568 $query['post__not_in'] = array_merge( $query['post__not_in'], $sticky ); 2569 } elseif ( 'ignore' === $block->context['query']['sticky'] ) { 2570 $query['ignore_sticky_posts'] = 1; 2569 2571 } 2570 2572 }
Note: See TracChangeset
for help on using the changeset viewer.