Skip to content

Take into account the post_id in method input#1

Open
danny-hebert wants to merge 1 commit into
froger-me:masterfrom
danny-hebert:patch-1
Open

Take into account the post_id in method input#1
danny-hebert wants to merge 1 commit into
froger-me:masterfrom
danny-hebert:patch-1

Conversation

@danny-hebert

Copy link
Copy Markdown

In some cases, the merge_comment_count loses the scope of the query when we are using the global $post
This change takes into account the post_id in the method input first to fix that issue

In some cases, the merge_comment_count loses the scope of the query when we are using the global $post
This change takes into account the post_id in the method input first to fix that issue
@danny-hebert

Copy link
Copy Markdown
Author

@froger-me A little review please :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant