Skip to content

bw_get_posts using incorrect value for exclude= in nested core/post-content block #167

Description

@bobbingwide

Having implemented a fix for #166 and applied a similar fix to Gutenberg ( to fix further complications to the reported in 26593 ) I used the [bw_list] shortcode to list the posts that would be listed by the core/query.

The results were different for the nested posts.

Explanation

This is because the [bw_list] shortcode is attempting to dynamically determine the exclude= parameter but the core/query has it hard coded.

Workaround

Hardcode the exclude= parameter in each post.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions